godot-cpp/gdextension
Rémi Verschelde bab247dcb6
Rename godot-headers to gdextension, move header to top folder
Changes the `<godot/gdextension_interface.h>` include to simply
`<gdextension_interface.h>`.

Refactor and better document the SCons and CMake logic around setting
the paths to the header and API JSON file.
2022-12-14 12:36:59 +01:00
..
README.md Rename godot-headers to gdextension, move header to top folder 2022-12-14 12:36:59 +01:00
extension_api.json Rename godot-headers to gdextension, move header to top folder 2022-12-14 12:36:59 +01:00
gdextension_interface.h Rename godot-headers to gdextension, move header to top folder 2022-12-14 12:36:59 +01:00

README.md

GDExtension header and API

This repository contains the C header and API JSON for Godot Engine's GDExtensions API.

Updating header and API

If the current branch is not up-to-date for your needs, or if you want to sync the header and API JSON with your own modified version of Godot, here is the update procedure used to sync this repository with upstream releases:

  • Compile Godot Engine at the specific version/commit which you are using.
    • Or if you use an official release, download that version of the Godot editor.
  • Use the compiled or downloaded executable to generate the extension_api.json and gdextension_interface.h files with:
godot --dump-extension-api --dump-gdextension-interface