Skip to content

Commit

Permalink
gdextension: Sync with upstream commit 3978628c6cc1227250fc6ed45c8d85…
Browse files Browse the repository at this point in the history
…4d24c30c30 (4.3-rc2)
  • Loading branch information
dsnopek committed Aug 2, 2024
1 parent f2b521f commit daf6ad3
Show file tree
Hide file tree
Showing 2 changed files with 332 additions and 17 deletions.
Loading

2 comments on commit daf6ad3

@D4Devil
Copy link

@D4Devil D4Devil commented on daf6ad3 Sep 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi!, I'm trying to submit a proposal that requires a function to be added to the API, Is this file auto-generated or serves as a description of the API (meant to be manually changed)?

My addition would be something in the ballpark of:

## Area3D API ##
{
	"name": "compute_gravity",
	"is_const": true,
	"is_vararg": false,
	"is_static": false,
	"is_virtual": false,
	"hash": 1740695151,
	"arguments": [
		{
			"name": "p_position",
			"type": "Vector3"
		},
		{
			"name": "r_gravity",
			"type": "Vector3"
		}
	]
},

@raulsntos
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extension_api.json file is generated from a Godot binary, see https://github.com/godotengine/godot-cpp/blob/master/gdextension/README.md. We update this file on every stable, beta, and rc release.

Please sign in to comment.