Skip to content

Commit 539a63a

Browse files
authored
Update gdextension_cpp_example.rst
Removed unused filename parameter from --dump-extension-api command in GDExtension tutorial and clarified language after.
1 parent 12b7fee commit 539a63a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/scripting/gdextension/gdextension_cpp_example.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ call the Godot executable:
100100

101101
.. code-block:: none
102102
103-
godot --dump-extension-api extension_api.json
103+
godot --dump-extension-api
104104
105-
Place the resulting ``extension_api.json`` file in the project folder and add
106-
``custom_api_file=<PATH_TO_FILE>`` to the scons command
107-
below.
105+
The resulting ``extension_api.json`` file will be created in the executable's
106+
directory. Copy it to the project folder and add ``custom_api_file=<PATH_TO_FILE>``
107+
to the scons command below.
108108

109109
To generate and compile the bindings, use this command (replacing ``<platform>``
110110
with ``windows``, ``linux`` or ``macos`` depending on your OS):

0 commit comments

Comments
 (0)