-
Notifications
You must be signed in to change notification settings - Fork 0
/
geracoredeps.h
35 lines (22 loc) · 942 Bytes
/
geracoredeps.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef GERACOREDEPS_H
#define GERACOREDEPS_H
#include "geratypes.h"
void* geracoredeps_malloc(size_t size);
void* geracoredeps_realloc(void* ptr, size_t size);
void geracoredeps_free(void* ptr);
GERACORE_MUTEX geracoredeps_create_mutex();
void geracoredeps_lock_mutex(GERACORE_MUTEX* m);
void geracoredeps_unlock_mutex(GERACORE_MUTEX* m);
void geracoredeps_free_mutex(GERACORE_MUTEX* m);
void geracoredeps_eprint(const char* text);
size_t geracoredeps_display_uint_length(size_t n);
void geracoredeps_display_uint(size_t n, char* buf);
size_t geracoredeps_display_sint_length(gint n);
void geracoredeps_display_sint(gint n, char* buf);
size_t geracoredeps_display_float_length(gfloat n);
void geracoredeps_display_float(gfloat n, char* buf);
size_t geracoredeps_display_pointer_length(void* p);
void geracoredeps_display_pointer(void* p, char* buf);
void geracoredeps_eprint_backtrace();
void geracoredeps_exit(int code);
#endif