mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-08 23:08:08 +00:00
a few more raddbgi, raddbgic -> rdi, rdim notes
This commit is contained in:
@@ -595,7 +595,7 @@ rdim_str8toptr_map_insert(RDIM_Arena *arena, RDIM_Str8ToPtrMap *map, RDIM_String
|
||||
|
||||
//- rjf: root creation
|
||||
|
||||
RDI_PROC RDIM_Root*
|
||||
RDI_PROC RDIM_Root *
|
||||
rdim_root_alloc(RDIM_RootParams *params)
|
||||
{
|
||||
RDIM_Arena *arena = rdim_arena_alloc();
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
// Library for building loose data structures which contain
|
||||
// RADDBGI debug information, and baking that down into the
|
||||
// proper flattened RADDBGI format.
|
||||
//
|
||||
// Requires prior inclusion of the RAD Debug Info, (R)AD(D)BG(I)
|
||||
// Format Library, in raddbgi_format.h.
|
||||
|
||||
#ifndef RADDBGI_MAKE_H
|
||||
#define RADDBGI_MAKE_H
|
||||
@@ -159,7 +162,7 @@ struct RDIM_Arena
|
||||
////////////////////////////////
|
||||
//~ rjf: Overrideable Thread-Local Scratch Arenas
|
||||
|
||||
// To override the default thread-local scratch arenas used b yhe library,
|
||||
// To override the default thread-local scratch arenas used by the library,
|
||||
// do the following:
|
||||
//
|
||||
// #define RDIM_SCRATCH_OVERRIDE
|
||||
@@ -187,7 +190,7 @@ struct RDIM_Temp
|
||||
#endif
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Linked List Helpers
|
||||
//~ rjf: Linked List Helper Macros
|
||||
|
||||
#define RDIM_CheckNil(nil,p) ((p) == 0 || (p) == nil)
|
||||
#define RDIM_SetNil(nil,p) ((p) = nil)
|
||||
@@ -1104,7 +1107,7 @@ RDI_PROC void *rdim_memcpy_fallback(void *dst, void *src, RDI_U64 size);
|
||||
#define rdim_memcpy_struct(dst, src) rdim_memcpy((dst), (src), sizeof(*(dst)))
|
||||
|
||||
//- rjf: arenas
|
||||
#if !defined (RDIM_ARENA_OVERRIDE)
|
||||
#if !defined(RDIM_ARENA_OVERRIDE)
|
||||
RDI_PROC RDIM_Arena *rdim_arena_alloc_fallback(void);
|
||||
RDI_PROC void rdim_arena_release_fallback(RDIM_Arena *arena);
|
||||
RDI_PROC RDI_U64 rdim_arena_pos_fallback(RDIM_Arena *arena);
|
||||
|
||||
Reference in New Issue
Block a user