issues
search
haxiomic
/
haxe-c-bridge
Easily interact with haxe classes from C with an automatically generated C header
MIT License
51
stars
5
forks
source link
Prep for release
#13
Closed
haxiomic
closed
3 years ago
haxiomic
commented
3 years ago
[x] convert to C after typing
[x] fix Main_Main_name() problem
[x] stop could have the option to wait for scheduled events
waitUntilEventLoop empty is nice but new events can be scheduled afterwards before a stop call
stopHaxeThreadAfterPendingEvents() ?
stopHaxeThreadIfRunning(bool waitOnScheduledEvents)?
[x] stop should be clear it can be called many times safely: stopHaxeThreadIfRunning()?
[x] test options for returning a haxe object, maybe Pointer is the right approach here because it may increment the reference count
[x] check for content change before saving implementation cpp since this will be faster
[ ] allow haxe thread to start again
unresolved issues with the hxcpp GC – seems to hang (see test branch)
[x] HaxeObject
wrapper to enable returning any object to C while retaining a GC reference (also add new C function releaseHaxeObject())
[x] consider renaming to C.hx or HaxeC.hx
[x] add metadata like
@c.name
[ ] docs
[x] update C function docs
[x] header comment
[ ] what types can be used with C
GC safe haxe object passing example
[x] worked example from scratch
[ ] minimal OpenGL example
[x] license
[ ] allow haxe thread to start again@c.name