diff --git a/README.md b/README.md index 952d304..8d9fbb9 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ Create `init.cpp` under `SimpleLibrary/src/` and add the following code: class SimpleClass : public Reference { - PANDEMONIUM_CLASS(SimpleClass, Reference); + GDCLASS(SimpleClass, Reference); public: SimpleClass() { } diff --git a/core/pandemonium.h b/core/pandemonium.h index 3a182d2..d7a4340 100644 --- a/core/pandemonium.h +++ b/core/pandemonium.h @@ -132,7 +132,7 @@ inline T *create_custom_class_instance() { // ___get_base_id: Gets the ID of the direct base class, as returned by ___get_id // ___get_base_class_name: Name of the direct base class // ___get_from_variant: Converts a Variant into an Object*. Will be non-null if the class matches. -#define PANDEMONIUM_CLASS(Name, Base) \ +#define GDCLASS(Name, Base) \ \ public: \ inline static const char *___get_class_name() { \ diff --git a/test/src/init.cpp b/test/src/init.cpp index 9a0119f..76aa7fa 100644 --- a/test/src/init.cpp +++ b/test/src/init.cpp @@ -34,7 +34,7 @@ class SimpleClass : public Reference { - PANDEMONIUM_CLASS(SimpleClass, Reference); + GDCLASS(SimpleClass, Reference); public: SimpleClass() {}