summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-10-11 17:45:42 -0400
committerJosh Ferrell <josh@vector35.com>2025-10-11 17:45:42 -0400
commitba282a42855ab2def22b5915e03ba91d47693867 (patch)
tree2f8d38461d4ba762a0f651773e2bae2d34e424fc /lang
parent5c41155a46f93ead2b1d7feda8e6bc6f5b4f9549 (diff)
Fix demo ifdefs
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/pseudorust.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lang/rust/pseudorust.cpp b/lang/rust/pseudorust.cpp
index 12f58bc1..7dfe0aaf 100644
--- a/lang/rust/pseudorust.cpp
+++ b/lang/rust/pseudorust.cpp
@@ -2923,17 +2923,11 @@ extern "C"
{
BN_DECLARE_CORE_ABI_VERSION
-#ifndef DEMO_VERSION
BINARYNINJAPLUGIN void CorePluginDependencies()
{
}
-#endif
-#ifdef DEMO_VERSION
- bool PseudoCPluginInit()
-#else
BINARYNINJAPLUGIN bool CorePluginInit()
-#endif
{
LanguageRepresentationFunctionType* type = new PseudoRustFunctionType();
LanguageRepresentationFunctionType::Register(type);