diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-04 23:38:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-04 23:38:00 +0200 |
| commit | 7ed83e988930776826b8e6e7cf0c53f8d50cfe26 (patch) | |
| tree | 8ba50859dedf9ef940d37ccd132234a20abb7818 /modules/dlscript/godot.h | |
| parent | 46bc14e66fe90430f1d74cdab6cca6acb5b2a3f6 (diff) | |
| parent | 6c49fe9c62b3401323a6497447679fdfded6f116 (diff) | |
Merge pull request #8263 from karroffel/dlscript-userdata
[DLScript] added variant constructor and a function to get userdata of a script
Diffstat (limited to 'modules/dlscript/godot.h')
| -rw-r--r-- | modules/dlscript/godot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dlscript/godot.h b/modules/dlscript/godot.h index 0c28c1fd2c..75f1f47ed1 100644 --- a/modules/dlscript/godot.h +++ b/modules/dlscript/godot.h @@ -121,8 +121,6 @@ typedef int godot_int; typedef float godot_real; -typedef double godot_real64; // for Variant in 3.0 - /////// Object (forward declared) typedef void godot_object; @@ -375,6 +373,8 @@ typedef struct godot_signal { void GDAPI godot_script_register_signal(const char *p_name, const godot_signal *p_signal); +void GDAPI *godot_dlinstance_get_userdata(godot_object *p_instance); + ////// System Functions //using these will help Godot track how much memory is in use in debug mode |