summaryrefslogtreecommitdiff
path: root/drivers/nrex/nrex_config.h
blob: 540f34f8b49b2a3eb6645d893d4131038529b5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
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)