├── .gitignore ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── c_src ├── .gitignore ├── Makefile ├── nifty.c └── nifty_clangparse.c ├── include └── nifty.hrl ├── priv ├── .gitignore └── templates │ ├── app.tpl │ ├── cmodule.tpl │ ├── config.tpl │ ├── emodule.tpl │ ├── hrlmodule.tpl │ ├── lib │ ├── array_type.tpl │ ├── builtin_type.tpl │ ├── float_type.tpl │ ├── function.tpl │ ├── int_type.tpl │ ├── pointer_type.tpl │ ├── struct_type.tpl │ ├── structures.tpl │ ├── union_type.tpl │ └── void.tpl │ └── save_emodule.tpl ├── rebar.config ├── src ├── nifty.app.src ├── nifty.erl ├── nifty_clangparse.erl ├── nifty_filters.erl ├── nifty_remote.erl ├── nifty_remotecall.erl ├── nifty_tags.erl ├── nifty_types.erl └── nifty_utils.erl ├── test ├── cfiles │ ├── .gitignore │ ├── answer.c │ ├── answer.h │ ├── arguments.c │ ├── arguments.h │ ├── array.c │ ├── array.h │ ├── builtin_types.c │ ├── builtin_types.h │ ├── dereference_regression.c │ ├── dereference_regression.h │ ├── enums.h │ ├── fptr.h │ ├── proxy_header.c │ ├── proxy_header.h │ ├── structs.h │ ├── types.h │ ├── unions.c │ └── unions.h ├── nifty_lib_test.erl └── nifty_test.erl └── travis ├── after_failure.sh ├── fix_exports.sh ├── install_deps.sh └── safe-cflags.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/README.md -------------------------------------------------------------------------------- /c_src/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /c_src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/c_src/Makefile -------------------------------------------------------------------------------- /c_src/nifty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/c_src/nifty.c -------------------------------------------------------------------------------- /c_src/nifty_clangparse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/c_src/nifty_clangparse.c -------------------------------------------------------------------------------- /include/nifty.hrl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/include/nifty.hrl -------------------------------------------------------------------------------- /priv/.gitignore: -------------------------------------------------------------------------------- 1 | nifty*.so 2 | -------------------------------------------------------------------------------- /priv/templates/app.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/app.tpl -------------------------------------------------------------------------------- /priv/templates/cmodule.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/cmodule.tpl -------------------------------------------------------------------------------- /priv/templates/config.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/config.tpl -------------------------------------------------------------------------------- /priv/templates/emodule.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/emodule.tpl -------------------------------------------------------------------------------- /priv/templates/hrlmodule.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/hrlmodule.tpl -------------------------------------------------------------------------------- /priv/templates/lib/array_type.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/array_type.tpl -------------------------------------------------------------------------------- /priv/templates/lib/builtin_type.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/builtin_type.tpl -------------------------------------------------------------------------------- /priv/templates/lib/float_type.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/float_type.tpl -------------------------------------------------------------------------------- /priv/templates/lib/function.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/function.tpl -------------------------------------------------------------------------------- /priv/templates/lib/int_type.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/int_type.tpl -------------------------------------------------------------------------------- /priv/templates/lib/pointer_type.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/pointer_type.tpl -------------------------------------------------------------------------------- /priv/templates/lib/struct_type.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/struct_type.tpl -------------------------------------------------------------------------------- /priv/templates/lib/structures.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/structures.tpl -------------------------------------------------------------------------------- /priv/templates/lib/union_type.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/union_type.tpl -------------------------------------------------------------------------------- /priv/templates/lib/void.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/lib/void.tpl -------------------------------------------------------------------------------- /priv/templates/save_emodule.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/priv/templates/save_emodule.tpl -------------------------------------------------------------------------------- /rebar.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/rebar.config -------------------------------------------------------------------------------- /src/nifty.app.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty.app.src -------------------------------------------------------------------------------- /src/nifty.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty.erl -------------------------------------------------------------------------------- /src/nifty_clangparse.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty_clangparse.erl -------------------------------------------------------------------------------- /src/nifty_filters.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty_filters.erl -------------------------------------------------------------------------------- /src/nifty_remote.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty_remote.erl -------------------------------------------------------------------------------- /src/nifty_remotecall.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty_remotecall.erl -------------------------------------------------------------------------------- /src/nifty_tags.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty_tags.erl -------------------------------------------------------------------------------- /src/nifty_types.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty_types.erl -------------------------------------------------------------------------------- /src/nifty_utils.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/src/nifty_utils.erl -------------------------------------------------------------------------------- /test/cfiles/.gitignore: -------------------------------------------------------------------------------- 1 | *.d 2 | -------------------------------------------------------------------------------- /test/cfiles/answer.c: -------------------------------------------------------------------------------- 1 | #include "answer.h" 2 | 3 | my_t 4 | life_universe_and_everything() { 5 | return 42; 6 | } 7 | -------------------------------------------------------------------------------- /test/cfiles/answer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/answer.h -------------------------------------------------------------------------------- /test/cfiles/arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/arguments.c -------------------------------------------------------------------------------- /test/cfiles/arguments.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/arguments.h -------------------------------------------------------------------------------- /test/cfiles/array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/array.c -------------------------------------------------------------------------------- /test/cfiles/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/array.h -------------------------------------------------------------------------------- /test/cfiles/builtin_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/builtin_types.c -------------------------------------------------------------------------------- /test/cfiles/builtin_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/builtin_types.h -------------------------------------------------------------------------------- /test/cfiles/dereference_regression.c: -------------------------------------------------------------------------------- 1 | #include "dereference_regression.h" 2 | 3 | int f(struct s **pp) {return 0;}; 4 | -------------------------------------------------------------------------------- /test/cfiles/dereference_regression.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/dereference_regression.h -------------------------------------------------------------------------------- /test/cfiles/enums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/enums.h -------------------------------------------------------------------------------- /test/cfiles/fptr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/fptr.h -------------------------------------------------------------------------------- /test/cfiles/proxy_header.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/proxy_header.c -------------------------------------------------------------------------------- /test/cfiles/proxy_header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/proxy_header.h -------------------------------------------------------------------------------- /test/cfiles/structs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/structs.h -------------------------------------------------------------------------------- /test/cfiles/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/types.h -------------------------------------------------------------------------------- /test/cfiles/unions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/unions.c -------------------------------------------------------------------------------- /test/cfiles/unions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/cfiles/unions.h -------------------------------------------------------------------------------- /test/nifty_lib_test.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/nifty_lib_test.erl -------------------------------------------------------------------------------- /test/nifty_test.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/test/nifty_test.erl -------------------------------------------------------------------------------- /travis/after_failure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/travis/after_failure.sh -------------------------------------------------------------------------------- /travis/fix_exports.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/travis/fix_exports.sh -------------------------------------------------------------------------------- /travis/install_deps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/travis/install_deps.sh -------------------------------------------------------------------------------- /travis/safe-cflags.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parapluu/nifty/HEAD/travis/safe-cflags.sh --------------------------------------------------------------------------------