Skip to content

Commit

Permalink
Experimenting with compile-time debug information.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Cole committed Apr 24, 2024
1 parent 770668f commit b2b4d8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion YSI_Coding/y_inline/y_inline_impl.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2263,7 +2263,7 @@ stock Inline_UI_(const &header, tag)
ResolvedAlloc:ra = Malloc_Resolve(closure);
RawMemCpy(_:ra + E_INLINE_CALL_PARAMS__, ptr, size);
AMX_Write(_:ra + (E_INLINE_CALL_PARAMS__ + __2_cells) + frm, args);
Debug_Print5("Inline_UI_: ptr = %08x, addr = %08x, data = %08x", Indirect_Ptr(ra), ra, closure);
Debug_Print5("Inline_UI_: ptr = %08x, addr = %08x, data = %08x", _:Indirect_Ptr(ra), _:ra, _:closure);
return Indirect_Ptr(ra);
}
#if __COMPILER_CONST_REF
Expand Down
3 changes: 3 additions & 0 deletions YSI_Core/y_core/y_core_entry.inc
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ Optional plugins:
#define YSI_VERSION_MINOR 10
#define YSI_VERSION_BUILD 0006

stock const YSI_VERSION_BCD = (YSI_VERSION_MAJOR << 24) | (YSI_VERSION_MINOR << 16) | (YSI_VERSION_BUILD);
//static YSI_version_5_10_0006 = YSI_VERSION_BCD;

#define YSI_VERSION #YSI_VERSION_MAJOR "." #YSI_VERSION_MINOR "." #YSI_VERSION_BUILD

// These includes are in quite a strict order, since there's a lot of inter-
Expand Down

0 comments on commit b2b4d8b

Please sign in to comment.