X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fbindings%2Fc%2B%2B%2Ftatoo.h;fp=src%2Fbindings%2Fc%2B%2B%2Ftatoo.h;h=e9492f1e0a4812b09f52f6657b960044994328b8;hp=0000000000000000000000000000000000000000;hb=85ba2cc3211b4c6ea7da4cbaf9db3bd51765e6f7;hpb=33cc91c072d0c3ee3f17911f6484a24f55a3408b diff --git a/src/bindings/c++/tatoo.h b/src/bindings/c++/tatoo.h new file mode 100644 index 0000000..e9492f1 --- /dev/null +++ b/src/bindings/c++/tatoo.h @@ -0,0 +1,24 @@ +#ifndef TATOO_H +#define TATOO_H +#pragma once + +#include + +extern "C" { + +CAMLprim value node_getFirstChild(value node); +CAMLprim value node_getNextSibling(value node); +CAMLprim value node_getNodeType(value node); +CAMLprim value node_getNodeName(value node); +CAMLprim value node_getPreorder(value node); + +CAMLprim value nodelist_getLength(value list); +CAMLprim value nodelist_item(value list, value idx); +CAMLprim value nodelist_new(value unit); +CAMLprim value nodelist_add(value list, value node); + +CAMLprim value getNull(value unit); +CAMLprim value dereference_object(value obj); +} + +#endif