rename Extension to yaze_extension for global namespace

This commit is contained in:
scawful
2024-08-08 13:46:50 -04:00
parent 7379a8535c
commit aa5582c434
2 changed files with 9 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
extern "C" {
#endif
typedef struct Extension {
typedef struct yaze_extension {
const char* name;
const char* version;
@@ -17,10 +17,10 @@ typedef struct Extension {
// Function to extend editor functionality
void (*extendFunctionality)(void* editorContext);
} Extension;
} yaze_extension;
// Function to get the extension instance
Extension* GetExtension();
yaze_extension* GetExtension();
void LoadCExtension(const char* extension_path);