projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetic change.
[SXSI/xpathcomp.git]
/
src
/
OCamlDriver.cpp
diff --git
a/src/OCamlDriver.cpp
b/src/OCamlDriver.cpp
index
074dd1c
..
4a31dad
100644
(file)
--- a/
src/OCamlDriver.cpp
+++ b/
src/OCamlDriver.cpp
@@
-41,6
+41,7
@@
extern "C" {
#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>
+#include <bp-darray.h>
}
}
@@
-157,7
+158,7
@@
extern "C" value caml_xml_tree_load(value fd, value name, value load_tc,value s
XMLTree * tree;
try {
XMLTree * tree;
try {
- tree = XMLTree::Load(Int_val(fd),
Bool_val(load_tc),
Int_val(sf), String_val(name));
+ tree = XMLTree::Load(Int_val(fd),
Bool_val(load_tc),
Int_val(sf), String_val(name));
result = sxsi_alloc_custom<XMLTree*>();
Obj_val<XMLTree*>(result) = tree;
CAMLreturn(result);
result = sxsi_alloc_custom<XMLTree*>();
Obj_val<XMLTree*>(result) = tree;
CAMLreturn(result);