-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
This is similar to protobufs of course, but it'd be nice sometimes to be able to have the StarStruct objects generate code that allows the defined message to be packed or unpacked.
Possibly it would not need to be feature complete at first, the post/pre/etc. hook functions may be difficult to add. Or possibly the generated code would expect a function of the same name to be called? So if you have a crc32 hook in the python code then the generated code would try to call crc32()?
It probably shouldn't be the same exact function name, but rather some sort of mangled name so the necessary wrappers can be installed as necessary to handle types and library connections.