Explorar o código

Fix a function name in GDNative C tutorial

sheepandshepherd %!s(int64=5) %!d(string=hai) anos
pai
achega
71e14012e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tutorials/plugins/gdnative/gdnative-c-example.rst

+ 1 - 1
tutorials/plugins/gdnative/gdnative-c-example.rst

@@ -429,7 +429,7 @@ globally will be accessible from any instance of your object you create. If
 time a script accesses the library.
 time a script accesses the library.
 
 
 If *Singleton* is enabled, our library is automatically loaded and a function
 If *Singleton* is enabled, our library is automatically loaded and a function
-called ``godot_singleton_init`` is called. We'll leave that for another
+called ``godot_gdnative_singleton`` is called. We'll leave that for another
 tutorial.
 tutorial.
 
 
 The *Symbol Prefix* is a prefix for our core functions, such as ``godot_`` in
 The *Symbol Prefix* is a prefix for our core functions, such as ``godot_`` in