summaryrefslogtreecommitdiff
path: root/drivers/nrex/nrex_config.h
diff options
context:
space:
mode:
authorOvnuniarchos <pujalte.jorge@gmail.com>2015-07-26 20:16:38 +0200
committerOvnuniarchos <pujalte.jorge@gmail.com>2015-07-26 20:16:38 +0200
commitaf132adf94da56ff231ce6f69f8098666cf7d9b0 (patch)
treed40e6ad16b9907fb9ad134f3189035a9f85113b8 /drivers/nrex/nrex_config.h
parentd1a260c9660e98da2f8a0ba4af2dd2cde6aeb311 (diff)
parent07c99e11f5939699fefa10fab0b898ddc9246f85 (diff)
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'drivers/nrex/nrex_config.h')
-rw-r--r--drivers/nrex/nrex_config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/nrex/nrex_config.h b/drivers/nrex/nrex_config.h
new file mode 100644
index 0000000000..540f34f8b4
--- /dev/null
+++ b/drivers/nrex/nrex_config.h
@@ -0,0 +1,12 @@
+// Godot-specific configuration
+// To use this, replace nrex_config.h
+
+#include "core/os/memory.h"
+
+#define NREX_UNICODE
+//#define NREX_THROW_ERROR
+
+#define NREX_NEW(X) memnew(X)
+#define NREX_NEW_ARRAY(X, N) memnew_arr(X, N)
+#define NREX_DELETE(X) memdelete(X)
+#define NREX_DELETE_ARRAY(X) memdelete_arr(X)