eco2d/code/apps/server/header/blocks.h

15 lines
350 B
C
Raw Normal View History

2021-01-11 13:47:14 +00:00
#pragma once
#include "system.h"
2021-01-11 14:27:32 +00:00
#define BLOCKS_ERROR_NONE +0x0000
#define BLOCKS_ERROR_OUTOFMEM -0x0001
#define BLOCKS_ERROR_NOTFOUND -0x0002
#define BLOCKS_ERROR_INVALID -0x0003
int32_t blocks_init(void);
int32_t blocks_destroy(void);
// persisting buffer
char *blocks_get_name(uint32_t id);
uint32_t blocks_get_flags(uint32_t id);