Skip to content

v1.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Dec 14:09
· 15 commits to master since this release

C++ Language Target is Supported!

Now you can use c++ as language target, like this:

bubbler -t cpp -o /path/to/mydir/ ./example.bb
  • cpp: C++ language, output one .bb.hpp file and one .bb.cpp file for each .bb file.
    • With -single: Output one file that includes all definitions for all .bb files. The output file name (including the extension) is determined by the -o option.
    • With -minimal: No generation of getter/setter methods for fields.
    • With -memcpy: Use std::shared_ptr<uint8_t[]> to heap-allocate memory for bytes fields, and copy the content from the original buffer. string fields will always use std::string and copied every time.
    • Without -memcpy: Use std::shared_ptr<uint8_t[]> with null deleter to reference the original buffer for bytes fields. string fields will always use std::string and copied every time.

Changelog