Skip to content

Commit a5d9ffd

Browse files
committed
Fix SCRIPT_EXPORT_PULL macro
1 parent 2a2a38e commit a5d9ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrScriptEngine/ScriptExporter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#ifdef XRAY_STATIC_BUILD
88
#define SCRIPT_EXPORT_PULL(id, dependencies, ...) \
9-
extern ScriptExporter::Node id##_ScriptExporterNode; \
9+
extern const ScriptExporter::Node id##_ScriptExporterNode; \
1010
gModulesPull += (intptr_t)&(id##_ScriptExporterNode);
1111

1212
#define SCRIPT_EXPORT_FUNC_PULL(id, dependencies, func) SCRIPT_EXPORT_PULL(id, dependencies, func)

0 commit comments

Comments
 (0)