godot/doc/classes/NativeExtension.xml
George Marques 3f362cec68
Improve extension system
- Fix library loading and initialization.
- Add extra methods/parameters in the interface needed by extenstions.
- Add Variant destructors and functions for extracting values and
  creating Variants from values.
2021-08-05 14:57:31 -03:00

50 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="NativeExtension" inherits="Resource" version="4.0">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="close_library">
<return type="void" />
<description>
</description>
</method>
<method name="get_minimum_library_initialization_level" qualifiers="const">
<return type="int" enum="NativeExtension.InitializationLevel" />
<description>
</description>
</method>
<method name="initialize_library">
<return type="void" />
<argument index="0" name="level" type="int" enum="NativeExtension.InitializationLevel" />
<description>
</description>
</method>
<method name="is_library_open" qualifiers="const">
<return type="bool" />
<description>
</description>
</method>
<method name="open_library">
<return type="int" enum="Error" />
<argument index="0" name="path" type="String" />
<argument index="1" name="entry_symbol" type="String" />
<description>
</description>
</method>
</methods>
<constants>
<constant name="INITIALIZATION_LEVEL_CORE" value="0" enum="InitializationLevel">
</constant>
<constant name="INITIALIZATION_LEVEL_SERVERS" value="1" enum="InitializationLevel">
</constant>
<constant name="INITIALIZATION_LEVEL_SCENE" value="2" enum="InitializationLevel">
</constant>
<constant name="INITIALIZATION_LEVEL_EDITOR" value="3" enum="InitializationLevel">
</constant>
</constants>
</class>