projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'smaneth-devel' of ssh://git.nguyen.vg/SXSI/xpathcomp into smaneth-devel
[SXSI/xpathcomp.git]
/
src
/
lexindex_stub.cpp
diff --git
a/src/lexindex_stub.cpp
b/src/lexindex_stub.cpp
index
ab595ae
..
315be7f
100644
(file)
--- a/
src/lexindex_stub.cpp
+++ b/
src/lexindex_stub.cpp
@@
-105,7
+105,7
@@
void printIndex(const char * label, vector<int32_t> v){
}
}
}
}
-
extern "C"
value caml_build_lex_index(value vtree, value vtag, value vtag2)
+
ML_BINDING
value caml_build_lex_index(value vtree, value vtag, value vtag2)
{
CAMLparam2(vtree, vtag);
CAMLlocal1(vindex);
{
CAMLparam2(vtree, vtag);
CAMLlocal1(vindex);
@@
-126,7
+126,7
@@
extern "C" value caml_build_lex_index(value vtree, value vtag, value vtag2)
printIndex("Result" , mergeJoin(myvector, myvector2));
}
printIndex("Result" , mergeJoin(myvector, myvector2));
}
-
extern "C"
value caml_print_lex_index(value vindex)
+
ML_BINDING
value caml_print_lex_index(value vindex)
{
CAMLparam1(vindex);
lex_index* index = LEXINDEX(vindex);
{
CAMLparam1(vindex);
lex_index* index = LEXINDEX(vindex);