Skip to content

v1.1.0

Compare
Choose a tag to compare
@yugabe yugabe released this 17 Jul 11:32
· 8 commits to main since this release

New features!

  • generate const members instead of properties, just supply the PodNet_EmbedTextIsConst="true" attribute,
  • name your property/const identifier however you want by supplying your own value in PodNet_EmbedTextIdentifier!

Additionally, now the generated properties are not initialized. This is because the file contents are constants embedded into the IL code and are interned either way. Initializing on first access of the class only makes it so that an additional uninitialized pointer (reference) is required. Directly returning the constant results in it directly returning the referenced already-interned string. This won't result in a marked difference either way, and the API surface didn't change either.