C++ codegen: map nil to nullptr

This commit is contained in:
Araq
2018-10-02 16:16:36 +02:00
parent 6f23b05c09
commit c2de135905

View File

@@ -280,7 +280,7 @@ namespace USE_NIM_NAMESPACE {
# define NIM_FALSE false
# endif
# define NIM_BOOL bool
# define NIM_NIL 0
# define NIM_NIL nullptr
#else
# ifdef bool
# define NIM_BOOL bool