Skip to content

Commit e38186c

Browse files
committed
More functionality + Script plugin loading
1 parent 13a2d93 commit e38186c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

binaryninjacore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ extern "C"
192192
} PluginLoadStatus;
193193

194194
typedef bool (*BNCorePluginInitFunction)(void);
195-
typedef bool (*BNScriptPluginInitFunction)(const char*);
195+
typedef bool (*BNScriptPluginInitFunction)(const char*, const char*);
196196
typedef void (*BNCorePluginDependencyFunction)(void);
197197
typedef uint32_t (*BNCorePluginABIVersionFunction)(void);
198198

python/pluginmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def __getitem__(self, repo_path: str) -> Repository:
342342
for repo in self.repositories:
343343
if repo_path == repo.path:
344344
return repo
345-
raise KeyError()
345+
raise KeyError(repo_path)
346346

347347
def check_for_updates(self) -> bool:
348348
"""Check for updates for all managed Repository objects"""

0 commit comments

Comments
 (0)