GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix some inconsistencies in python bindings between clang and core ty… · Vector35/binaryninja-api@772ab3c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • binaryninjacore.h
  • python
    • generator.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎binaryninjacore.h‎

Copy file name to clipboardExpand all lines: binaryninjacore.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2988,7 +2988,7 @@ extern "C"
29882988
BINARYNINJACOREAPI char* BNGetPathRelativeToUserPluginDirectory(const char* path);
29892989
BINARYNINJACOREAPI char* BNGetPathRelativeToUserDirectory(const char* path);
29902990

2991-
BINARYNINJACOREAPI bool BNExecuteWorkerProcess(const char* path, const char* args[], BNDataBuffer* input,
2991+
BINARYNINJACOREAPI bool BNExecuteWorkerProcess(const char* path, const char** args, BNDataBuffer* input,
29922992
char** output, char** error, bool stdoutIsText, bool stderrIsText);
29932993

29942994
BINARYNINJACOREAPI void BNSetCurrentPluginLoadOrder(BNPluginLoadOrder order);
Collapse file

‎python/generator.cpp‎

Copy file name to clipboardExpand all lines: python/generator.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ int main(int argc, char* argv[])
340340
fprintf(enums, "\n\nclass %s(enum.IntEnum):\n", name.c_str());
341341
for (auto& j : i.second->GetEnumeration()->GetMembers())
342342
{
343-
fprintf(enums, "\t%s = %" PRId64 "\n", j.name.c_str(), j.value);
343+
fprintf(enums, "\t%s = %" PRId32 "\n", j.name.c_str(), (int32_t)j.value);
344344
}
345345
}
346346
else if ((i.second->GetClass() == BoolTypeClass) || (i.second->GetClass() == IntegerTypeClass)

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.