projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the code alignment macro also in lexindex_stub.cpp
[SXSI/xpathcomp.git]
/
src
/
common_stub.cpp
diff --git
a/src/common_stub.cpp
b/src/common_stub.cpp
index
12b354e
..
781d079
100644
(file)
--- a/
src/common_stub.cpp
+++ b/
src/common_stub.cpp
@@
-71,7
+71,7
@@
value alloc_custom_(char* name)
}
}
-
extern "C"
value sxsi_cpp_init(value unit)
+
ML_BINDING
value sxsi_cpp_init(value unit)
{
struct rlimit rlim;
init_exception();
{
struct rlimit rlim;
init_exception();
@@
-88,7
+88,7
@@
extern "C" value sxsi_cpp_init(value unit)
return Val_unit;
}
return Val_unit;
}
-void sxsi_raise_msg(char * msg)
+void sxsi_raise_msg(c
onst c
har * msg)
{
if (cpp_exception == 0) init_error();
caml_raise_with_string(*cpp_exception, msg);
{
if (cpp_exception == 0) init_error();
caml_raise_with_string(*cpp_exception, msg);