Comment based build tags for packages (basic and temporary)

This commit is contained in:
gingerBill
2018-05-28 20:59:06 +01:00
parent 619783ca1b
commit 6eb505a677
9 changed files with 106 additions and 16 deletions
+10
View File
@@ -47,6 +47,16 @@ free_map :: proc(m: $T/map[$K]$V, loc := #caller_location) {
free_ptr(raw.entries.data, loc);
}
free :: proc[
free_ptr,
free_string,
free_cstring,
free_dynamic_array,
free_slice,
free_map,
];
default_resize_align :: proc(old_memory: rawptr, old_size, new_size, alignment: int, loc := #caller_location) -> rawptr {