Add GDExtension support to Script
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
This commit is contained in:
@ -202,9 +202,9 @@ public:
|
||||
void set_source_code(const String &p_code) override;
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
virtual const Vector<DocData::ClassDoc> &get_documentation() const override {
|
||||
virtual Vector<DocData::ClassDoc> get_documentation() const override {
|
||||
// TODO
|
||||
static Vector<DocData::ClassDoc> docs;
|
||||
Vector<DocData::ClassDoc> docs;
|
||||
return docs;
|
||||
}
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user