-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblorb.c
34 lines (23 loc) · 786 Bytes
/
blorb.c
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
#include "nitfol.h"
#include "gi_blorb.h"
/* Link this in only if your glk supports blorb */
giblorb_err_t wrap_gib_create_map(strid_t file, giblorb_map_t **newmap)
{
return giblorb_create_map(file, newmap);
}
giblorb_err_t wrap_gib_destroy_map(giblorb_map_t *map)
{
return giblorb_destroy_map(map);
}
giblorb_err_t wrap_gib_load_resource(giblorb_map_t *map, glui32 method, giblorb_result_t *res, glui32 usage, glui32 resnum)
{
return giblorb_load_resource(map, method, res, usage, resnum);
}
giblorb_err_t wrap_gib_count_resources(giblorb_map_t *map, glui32 usage, glui32 *num, glui32 *min, glui32 *max)
{
return giblorb_count_resources(map, usage, num, min, max);
}
giblorb_err_t wrap_gib_set_resource_map(strid_t file)
{
return giblorb_set_resource_map(file);
}