acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_string_memory_allocator.h
1
//Created by camilo on 2021-07-24 01:05 BRT <3ThomasBorregaardSorensen!!
2
#pragma once
3
4
5
#include "string_memory_allocate.h"
6
#include "acme/prototype/prototype/_c_memory.h"
7
8
9
class
CLASS_DECL_ACME
string_memory_allocator
10
{
11
public
:
12
13
14
inline
static
void
* allocate(memsize s) {
return
string_memory_allocate(s); }
15
inline
static
void
* reallocate(
void
* p, memsize s) {
return
string_memory_reallocate(p, s); }
16
inline
static
void
free(
void
* p) { string_memory_free(p); }
17
inline
static
void
zero(
void
* p) { ::zero(p, string_memory_size(p)); }
18
inline
static
memsize size(
void
* p) {
return
string_memory_size(p); }
19
20
21
};
22
23
24
string_memory_allocator
Definition
aaa_string_memory_allocator.h:10
memory
aaa_string_memory_allocator.h
Generated by
1.17.0