Buy Contact NSDSP Home

hex_map_normalize

This function normalizes the Hex Map object.

Syntax

int hex_map_normalize(
        hex_map_t         map
);

Parameters

map - a reference to the Hex Map object

Return

The function returns non-zero if the normalization succeeds, or zero if the operation fails.

Notes

Normalization performs the following operations:

  • sorts the Hex blocks in the ascending order of their addresses
  • unites adjacent Hex blocks if there is no gap between them

The operation will fail if there are overlapping blocks within the Hex Map.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2026 Northern Software Inc. All Rights Reserved.