blob: 4ce427ec5af56b4e58b6d4a7e606a08f0b36c2e6 (
plain) (
tree)
|
|
#include <iostream>
#include <merklecpp.h>
void cpp_normal_function() {
std::cout << "HELLO OCAML! :)" << std::endl;
}
extern "C" {
#include <caml/mlvalues.h>
#include <caml/memory.h>
extern value hello_ocaml(value unit){
cpp_normal_function();
return 0;
}
}
|