Skip to content

Commit

Permalink
Merge pull request #83415 from touilleMan/fix-comment-gdextension_int…
Browse files Browse the repository at this point in the history
…erface

Fix comment in `gdextension_interface.h`
  • Loading branch information
touilleMan authored Oct 16, 2023
2 parents 3bc1c9b + 5aa9f1c commit fd33c7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/extension/gdextension_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,10 @@ typedef GDExtensionInterfaceFunctionPtr (*GDExtensionInterfaceGetProcAddress)(co
*
* For example:
*
* GDExtensionInterfaceGetGodotVersion *get_godot_version = (GDExtensionInterfaceGetGodotVersion)p_get_proc_address("get_godot_version");
* GDExtensionInterfaceGetGodotVersion get_godot_version = (GDExtensionInterfaceGetGodotVersion)p_get_proc_address("get_godot_version");
*
* (Note that snippet may cause "cast between incompatible function types" on some compilers, you can
* silence this by adding an intermediary `void*` cast.)
*
* You can then call it like a normal function:
*
Expand Down

0 comments on commit fd33c7b

Please sign in to comment.