yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze_extension Struct Reference

Extension interface for Yaze. More...

#include <yaze.h>

Collaboration diagram for yaze_extension:

Public Attributes

const char * name
 
const char * version
 
yaze_initialize_func initialize
 Function to initialize the extension.
 
yaze_cleanup_func cleanup
 Function to clean up the extension.
 

Detailed Description

Extension interface for Yaze.

Yaze extensions can be written in C or Python.

Definition at line 70 of file yaze.h.

Member Data Documentation

◆ name

const char* yaze_extension::name

Definition at line 71 of file yaze.h.

Referenced by BOOST_PYTHON_MODULE().

◆ version

const char* yaze_extension::version

Definition at line 72 of file yaze.h.

Referenced by BOOST_PYTHON_MODULE().

◆ initialize

yaze_initialize_func yaze_extension::initialize

Function to initialize the extension.

This function is called when the extension is loaded. It can be used to set up any resources or state needed by the extension.

Definition at line 80 of file yaze.h.

Referenced by yaze::editor::ExtensionManager::LoadExtension().

◆ cleanup

yaze_cleanup_func yaze_extension::cleanup

Function to clean up the extension.

This function is called when the extension is unloaded. It can be used to clean up any resources or state used by the extension.

Definition at line 88 of file yaze.h.


The documentation for this struct was generated from the following file: