Skip to content

Ability to generate C (or whatever) pack/unpack code #43

@sprout42

Description

@sprout42

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions