How do I bind a single C/C++ function with GDExtension?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ipbv

I would like to use class independent C/C++ functions inside Godot but the example project only shows how to register methods belonging to a class. How can I directly register methods that do not belong to any class?

Did you ever figure out the answer, I would benefit from this.

DaZel77 | 2023-03-22 19:40