From 2eab114a120c7818861c0640ecdc300cf7366e53 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Sat, 26 Oct 2024 14:26:10 -0300 Subject: Basic storage with C interop (#1) * writer command design * dune build with shared core lib * port c lib project inside ocaml * os specific dynamic link * fix project name on flake * fix: cmake cxx version breaking merklecpp * finish write to disk and update maps func * add non atomic commit to transaction graph * merkle tree binding for generating root hash * disk module refactor --------- Co-authored-by: Renan Lopes --- lib/merklecpp_stubs.cpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 lib/merklecpp_stubs.cpp (limited to 'lib/merklecpp_stubs.cpp') diff --git a/lib/merklecpp_stubs.cpp b/lib/merklecpp_stubs.cpp deleted file mode 100644 index 4ce427e..0000000 --- a/lib/merklecpp_stubs.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include - -void cpp_normal_function() { - std::cout << "HELLO OCAML! :)" << std::endl; -} - -extern "C" { -#include -#include - extern value hello_ocaml(value unit){ - cpp_normal_function(); - return 0; - } -} -- cgit v1.2.3