diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-03-07 15:09:52 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-03-07 15:09:52 -0500 |
| commit | c3e09a578a4beca8fc63b5cdfd1bf3f6a4d1451b (patch) | |
| tree | 96762c636184f28a4e6e7eeb74904c7e71a1326c | |
| parent | c37fb0c5ff9ab5dc4e0f26e32348341edbbf900e (diff) | |
Generator doesn't like typedefed function pointers
| -rw-r--r-- | binaryninjacore.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
