Strips compiler-specific export macros from the provided string.

Returns:

The processed string with macros removed and normalized whitespace.

Methods

strip_export_macros

strip_export_macros(text: Optional, macros: Optional]) -> Optional[str]

Strips compiler-specific export macros from the provided string.

Returns:

The processed string with macros removed and normalized whitespace.

ParameterTypeDescription
textOptionalThe input text to process.
macrosOptional]Custom list of macros to strip. Defaults to

Generated with Flude

Copyright © 2026