Use the code alignment macro also in lexindex_stub.cpp
authorKim Nguyẽn <kn@lri.fr>
Tue, 23 Oct 2012 13:56:02 +0000 (15:56 +0200)
committerKim Nguyẽn <kn@lri.fr>
Tue, 23 Oct 2012 13:56:02 +0000 (15:56 +0200)
src/lexindex_stub.cpp

index bf038b2..00694b7 100644 (file)
@@ -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);
@@ -128,7 +128,7 @@ extern "C" value caml_build_lex_index(value vtree, value vtag, value vtag2)
   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);