Browse Source

Merge pull request #1017 from emersonmx/patch-1

Rename OBJ_TYPE to GDCLASS
Rémi Verschelde 7 năm trước cách đây
mục cha
commit
530e9d6fe7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      development/cpp/custom_modules_in_cpp.rst

+ 1 - 1
development/cpp/custom_modules_in_cpp.rst

@@ -409,7 +409,7 @@ Summing up
 As you see, it's really easy to develop Godot in C++. Just write your
 stuff normally and remember to:
 
--  use ``OBJ_TYPE`` macro for inheritance, so Godot can wrap it
+-  use ``GDCLASS`` macro for inheritance, so Godot can wrap it
 -  use ``_bind_methods`` to bind your functions to scripting, and to
    allow them to work as callbacks for signals.