Code Monkey home page Code Monkey logo

godot-headers's Introduction

godot-headers

This repository contains C headers for Godot Engine's GDNative Extensions API.

GDNative Extensions enables the use of dynamically linked libraries inside of Godot.

Versioning

This repositories follows the same branch versioning as the main Godot Engine repository:

  • master tracks the current development branch. As this is a moving target, the headers in this repository may not always be fully in sync with upstream. See Updating Headers if you need to bring them up to date.
  • 3.x tracks the development of the next 3.x minor release. Like master, it might not always be fully up-to-date with upstream.
  • Other versioned branches (e.g. 3.3, 3.2) track the latest stable release in the corresponding branch.

Stable releases are also tagged on this repository: Tags.

For any project built against a stable release of Godot, we recommend using this repository as a Git submodule, checking out the specific tag matching your Godot version.

Using this library

This library is meant to be used in conjunction with a code generator that creates the binding code necesairy to interact with Godot. This library only provides access to the API over which communication with the Godot core is implemented and binding meta data in the form of a json document.

One such binding library is godot-cpp which implements the bindings using C++.

A pure C sample project is currently not available.

Updating Headers

See Versioning for details on the Godot versions tracked by each branch of this repository.

If the relevant branch is not up-to-date for your needs, or if you want to sync the headers 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.
  • Use the compiled executable to generate the extension_api.json file with: godot --dump-extension-api extension_api.json
  • Copy the file core/extension/gdnative_interface.h to godot

godot-headers's People

Contributors

akien-mga avatar bastiaanolij avatar calinou avatar colinkinloch avatar dsnopek avatar karroffel avatar khairul169 avatar l-as avatar lupodharkael avatar marcelofg55 avatar rameshravone avatar vnen avatar vonagam avatar wg-romank avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.