Skip to content

Commit

Permalink
Ultimate.
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzyll committed Sep 3, 2024
1 parent f5303e5 commit 81ba6e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/ffi.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C"
#endif // DEBUGGER_LIBRARY
#else // __GNUC__
#ifdef _MSC_VER
#ifndef DEMO_VERSION
#ifndef DEMO_EDITION
#ifdef DEBUGGER_LIBRARY
#define DEBUGGER_FFI_API __declspec(dllexport)
#else // DEBUGGER_LIBRARY
Expand Down
4 changes: 2 additions & 2 deletions core/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@ extern "C"
{
BN_DECLARE_CORE_ABI_VERSION

#ifndef DEMO_VERSION
#ifndef DEMO_EDITION
BINARYNINJAPLUGIN void CorePluginDependencies()
{
SetCurrentPluginLoadOrder(LatePluginLoadOrder);
}
#endif

#ifdef DEMO_VERSION
#ifdef DEMO_EDITION
bool DebuggerPluginInit()
#else
BINARYNINJAPLUGIN bool CorePluginInit()
Expand Down
4 changes: 2 additions & 2 deletions ui/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1684,14 +1684,14 @@ extern "C"
BN_DECLARE_CORE_ABI_VERSION

// In Demo, plugins are explicitly loaded. So there is no need to specify dependencies
#ifndef DEMO_VERSION
#ifndef DEMO_EDITION
BINARYNINJAPLUGIN void CorePluginDependencies()
{
SetCurrentPluginLoadOrder(LatePluginLoadOrder);
}
#endif

#ifdef DEMO_VERSION
#ifdef DEMO_EDITION
bool DebuggerUIPluginInit()
#else
BINARYNINJAPLUGIN bool UIPluginInit()
Expand Down

0 comments on commit 81ba6e5

Please sign in to comment.