Commit graph

5 commits

Author SHA1 Message Date
Karroffel
741800f5cc [DLScript] fixed android builds now
... really.
2017-04-06 14:00:54 +02:00
Karroffel
7d914a289c [DLScript] more API fixes 2017-04-06 01:49:09 +02:00
Karroffel
71a99d5517 [DLScript] removed STL imports 2017-04-06 00:22:37 +02:00
Karroffel
6c49fe9c62 [DLScript] added variant constructor and a function to get userdata of a script
The godot_dlinstance_get_userdata() function can be used to get the DLScript userdata pointer of any object that has a DLScript attached to it.
This is particularly useful and even required for language bindings to work properly.

This also fixes non-tool builds.
2017-04-04 23:02:46 +02:00
Karroffel
fd55308786 added dlscript module
This module was written by bojidar-bg and me, with the help of ClikCode and touilleMan.

This adds a module to Godot that enables the use of dynamic libraries as a source for scripts.
That also allows third party libraries to be linked to Godot more easily and without creating modules.

For a readme see https://github.com/GodotNativeTools/godot_headers/blob/master/README.md
2017-04-03 17:20:11 +02:00