From c3e09a578a4beca8fc63b5cdfd1bf3f6a4d1451b Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 7 Mar 2017 15:09:52 -0500 Subject: Generator doesn't like typedefed function pointers --- binaryninjacore.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/binaryninjacore.h b/binaryninjacore.h index afec0847..7460f7c1 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2461,7 +2461,10 @@ extern "C" BINARYNINJACOREAPI BNRepositoryManager* BNGetRepositoryManager(); BINARYNINJACOREAPI BNRepository* BNRepositoryManagerGetDefaultRepository(BNRepositoryManager* r); - BINARYNINJACOREAPI void BNRegisterForPluginLoading(const char* pluginApiName, BNLoadPluginCallback cb, void* ctx); + BINARYNINJACOREAPI void BNRegisterForPluginLoading( + const char* pluginApiName, + bool (*cb)(const char* repoPath, const char* pluginPath, void* ctx), + void* ctx); BINARYNINJACOREAPI bool BNLoadPluginForApi(const char* pluginApiName, const char* repoPath, const char* pluginPath); // LLVM Services APIs -- cgit v1.3.1