OS_OPEN_SH_MEM_FUNC definition

This constant determines whether the osOpenSharedMemory function is included or excluded during compilation. The function is compiled into the system when this value is set to 1 and is omitted when set to 0.

If this constant is not explicitly defined, it defaults to 1, and the function is included in the output code. To optimize memory footprint, if no osOpen* functions are utilized within the application, the system automatically ignores object names and excludes the underlying name management logic. This significantly reduces the final size of the executable image. For detailed information regarding object naming and opening procedures, refer to the System Objects Management section.

SpaceShadow documentation