diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-04-08 14:13:16 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-05-13 15:06:53 -0400 |
| commit | 3c28d7e6eaa84041ec0fe5352a618759c13e6cb3 (patch) | |
| tree | d4115c3e663b30ea388c35add6e5fc7dbd835c11 /python/generator.cpp | |
| parent | 0ace079eb70b0c999914a1e95a3eb1324a3b19d8 (diff) | |
Move collaboration to core
Diffstat (limited to 'python/generator.cpp')
| -rw-r--r-- | python/generator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
