From 3c28d7e6eaa84041ec0fe5352a618759c13e6cb3 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 8 Apr 2024 14:13:16 -0400 Subject: Move collaboration to core --- python/generator.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/generator.cpp') diff --git a/python/generator.cpp b/python/generator.cpp index 4831e5ae..3fdf1fc1 100644 --- a/python/generator.cpp +++ b/python/generator.cpp @@ -294,6 +294,7 @@ int main(int argc, char* argv[]) // Create type objects fprintf(out, "# Type definitions\n"); + fprintf(out, "BNProgressFunction = ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p, ctypes.c_ulonglong, ctypes.c_ulonglong)\n"); for (auto& i : types) { string name; @@ -420,6 +421,8 @@ int main(int argc, char* argv[]) } fprintf(out, "\n# Function definitions\n"); + fprintf(out, "BNCollaborationAnalysisConflictHandler = ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p, ctypes.POINTER(ctypes.c_char_p), ctypes.POINTER(BNAnalysisMergeConflictHandle), ctypes.c_ulonglong)\n"); + fprintf(out, "BNCollaborationNameChangesetFunction = ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p, BNCollaborationChangesetHandle)\n"); for (auto& i : funcs) { string name; -- cgit v1.3.1