-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GH Action
committed
Jan 12, 2025
1 parent
b6cd741
commit d787a72
Showing
4 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// machine generated, do not edit | ||
|
||
module sokol.memtrack; | ||
|
||
extern(C) | ||
struct Info { | ||
int num_allocs = 0; | ||
int num_bytes = 0; | ||
} | ||
extern(C) Info smemtrack_info() @system @nogc nothrow; | ||
Info info() @trusted @nogc nothrow { | ||
return smemtrack_info(); | ||
} | ||
extern(C) void* smemtrack_alloc(size_t, void*) @system @nogc nothrow; | ||
scope void* alloc(size_t size, scope void* user_data) @trusted @nogc nothrow { | ||
return smemtrack_alloc(size, user_data); | ||
} | ||
extern(C) void smemtrack_free(void*, void*) @system @nogc nothrow; | ||
void free(scope void* ptr, scope void* user_data) @trusted @nogc nothrow { | ||
smemtrack_free(ptr, user_data); | ||
} |