From 827a420fbe04e434a875fa4794c39bab70290720 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 22:21:17 +0000 Subject: [PATCH 1/2] Initial plan From 3166cffcbcffff5ccd0f5c845599c27251749fc4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 22:28:15 +0000 Subject: [PATCH 2/2] Move Dmod_GetName to dmod.h using DMOD_BUILTIN_API Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com> --- inc/dmod.h | 1 + inc/dmod_system.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/dmod.h b/inc/dmod.h index ef863a5..2f433a3 100644 --- a/inc/dmod.h +++ b/inc/dmod.h @@ -118,6 +118,7 @@ DMOD_BUILTIN_API( Dmod, 1.0, int , _RunModule, (const char* Module, int a DMOD_BUILTIN_API( Dmod, 1.0, bool , _IsFunctionConnected, (void* FunctionPointer) ); DMOD_BUILTIN_API( Dmod, 1.0, Dmod_Context_t*, _GetNextDifModule, (const char* DifSignature, Dmod_Context_t* Previous) ); DMOD_BUILTIN_API( Dmod, 1.0, void* , _GetDifFunction, (Dmod_Context_t* Context, const char* DifSignature) ); +DMOD_BUILTIN_API( Dmod, 1.0, const char*, _GetName, (Dmod_Context_t* Context) ); DMOD_BUILTIN_API( Dmod, 1.0, bool , _AddPackageBuffer, ( const void* Buffer, size_t Size, uint32_t* outIndex ) ); DMOD_BUILTIN_API( Dmod, 1.0, bool , _AddPackageFile, ( const char* FilePath, uint32_t* outIndex ) ); diff --git a/inc/dmod_system.h b/inc/dmod_system.h index cb3cd9f..d9f0345 100644 --- a/inc/dmod_system.h +++ b/inc/dmod_system.h @@ -93,7 +93,6 @@ extern int Dmod_Irq ( Dmod_Context_t* Context, const extern uint64_t Dmod_GetStackSize ( Dmod_Context_t* Context ); extern Dmod_ModuleType_t Dmod_GetModuleType ( Dmod_Context_t* Context ); extern Dmod_License_t* Dmod_GetLicense ( Dmod_Context_t* Context ); -extern const char* Dmod_GetName ( Dmod_Context_t* Context ); extern bool Dmod_GetFileArchitecture ( const char* FilePath, char* outArch, size_t MaxLength ); // DMF System