cxx2hx

Generates Reflaxe/C++ Haxe externs from C++ header files.
https://github.com/RobertBorghese/cxx2hx

To install, run:

haxelib install cxx2hx 1.0.1 

See using Haxelib in Haxelib documentation for more information.

README.md

cxx2hx - C++ -> Haxe Externs

Generate Reflaxe/C++ Haxe externs from C++ header files.

This is, and will always be, an imperfect project. The externs generated from this are not meant to be used directly; rather, they should be used as a base that are manually tweaked to remove any Haxe errors that may occur.

All the bloated, repetitive stuff is taken care of, but the minor tweaks and details still need to be taken care of.

ALSO PLEASE NOTE this is not generating externs for the Haxe/C++ target (this could still help with that, but some metadata will need to be replaced manually).

How to use

Install using Haxelib:

haxelib install cxx2hx

Run the script:

haxelib run cxx2hx <path_to_directory_with_header_files>
Contributors
RobertBorghese
Version
1.0.1
Published
1 year ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub