From 539a63a2b012a9cbeb3da6714025a38975df7f12 Mon Sep 17 00:00:00 2001 From: bferguson3 <32964659+bferguson3@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:01:59 -0400 Subject: [PATCH] Update gdextension_cpp_example.rst Removed unused filename parameter from --dump-extension-api command in GDExtension tutorial and clarified language after. --- .../scripting/gdextension/gdextension_cpp_example.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/scripting/gdextension/gdextension_cpp_example.rst b/tutorials/scripting/gdextension/gdextension_cpp_example.rst index bc15a2b2fd4..b08d1a4a167 100644 --- a/tutorials/scripting/gdextension/gdextension_cpp_example.rst +++ b/tutorials/scripting/gdextension/gdextension_cpp_example.rst @@ -100,11 +100,11 @@ call the Godot executable: .. code-block:: none - godot --dump-extension-api extension_api.json + godot --dump-extension-api -Place the resulting ``extension_api.json`` file in the project folder and add -``custom_api_file=`` to the scons command -below. +The resulting ``extension_api.json`` file will be created in the executable's +directory. Copy it to the project folder and add ``custom_api_file=`` +to the scons command below. To generate and compile the bindings, use this command (replacing ```` with ``windows``, ``linux`` or ``macos`` depending on your OS):