summaryrefslogtreecommitdiff
path: root/view
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 /view
parent5c41155a46f93ead2b1d7feda8e6bc6f5b4f9549 (diff)
Fix demo ifdefs
Diffstat (limited to 'view')
-rw-r--r--view/kernelcache/api/kernelcachecore.h2
-rw-r--r--view/sharedcache/api/sharedcachecore.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/view/kernelcache/api/kernelcachecore.h b/view/kernelcache/api/kernelcachecore.h
index 02451a3e..69eaec96 100644
--- a/view/kernelcache/api/kernelcachecore.h
+++ b/view/kernelcache/api/kernelcachecore.h
@@ -14,7 +14,7 @@ extern "C"
#endif // KERNELCACHE_LIBRARY
#else // __GNUC__
#ifdef _MSC_VER
- #ifndef DEMO_VERSION
+ #ifndef DEMO_EDITION
#ifdef KERNELCACHE_LIBRARY
#define KERNELCACHE_FFI_API __declspec(dllexport)
#else // KERNELCACHE_LIBRARY
diff --git a/view/sharedcache/api/sharedcachecore.h b/view/sharedcache/api/sharedcachecore.h
index 00b24b60..1324fe16 100644
--- a/view/sharedcache/api/sharedcachecore.h
+++ b/view/sharedcache/api/sharedcachecore.h
@@ -8,7 +8,7 @@
#endif // SHAREDCACHE_LIBRARY
#else // __GNUC__
#ifdef _MSC_VER
- #ifndef DEMO_VERSION
+ #ifndef DEMO_EDITION
#ifdef SHAREDCACHE_LIBRARY
#define SHAREDCACHE_FFI_API __declspec(dllexport)
#else // SHAREDCACHE_LIBRARY
@@ -119,7 +119,7 @@ extern "C"
SHAREDCACHE_FFI_API bool BNSharedCacheControllerIsImageLoaded(BNSharedCacheController* controller, BNSharedCacheImage* image);
SHAREDCACHE_FFI_API bool BNSharedCacheControllerIsRegionLoaded(BNSharedCacheController* controller, BNSharedCacheRegion* region);
-
+
SHAREDCACHE_FFI_API bool BNSharedCacheControllerGetRegionAt(BNSharedCacheController* controller, uint64_t address, BNSharedCacheRegion* outRegion);
SHAREDCACHE_FFI_API bool BNSharedCacheControllerGetRegionContaining(BNSharedCacheController* controller, uint64_t address, BNSharedCacheRegion* region);