Skip to content
Snippets Groups Projects
Commit 37cdb0df authored by matejcik's avatar matejcik
Browse files

add typename mangling

Three options for what to do with long type names:

M_NONE - original, default. Do nothing special.

M_STRIP_PACKAGE - Strip local package name. Useful when you want to use
package names, but don't want to deal with
`com_mycompany_supersoftware_proto_` prefixes on every symbol.
Not useful when your packages cross-reference each other, because it only
strips the _current_ package name, so references to other packages
actually become invalid.

M_FLATTEN - Always use only the last part of a dotted name.
Useful when you have packages and/or deeply nested structs that don't
actually have colliding names. Then you get shorter C symbols for no
additional cost.
Not useful when the names can collide.
parent 41a8c3b9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment