]> git.draconx.ca Git - gob-dx.git/commit
Add support for simple dynamic types.
authorNick Bowler <nbowler@draconx.ca>
Mon, 25 Feb 2019 04:56:34 +0000 (23:56 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 27 Feb 2019 13:48:51 +0000 (08:48 -0500)
commit4f931a71edce4d7456c233487703a894410fd599
tree77ec9b6fc50316177b7815c91a2335d684e2d46f
parent185449d25b2f9c93d2928e4745e8aa64d7d9ab9c
Add support for simple dynamic types.

Defining types in runtime-loaded modules requires a slightly different
get_type implementation, and the type registration is done explicitly
using a different API.  It's an extra pile of GObject boilerplate which
is a good fit for GOB to generate.

Add a (dynamic) flag which can be put on any class definition which
causes gob to spit out these alternate implementations.
doc/gob2.1.in
src/main.c
src/parse.y
src/treefuncs.def
tests/general.at