This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/loground/misc.h
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

26 lines
413 B
C

#pragma once
#include <stdbool.h>
#include <stddef.h>
/* dont forget to update EACH macro */
typedef enum {
LOGROUND_TYPE_ISLAND,
} loground_type_t;
#define LOGROUND_TYPE_EACH_(PROC) do { \
PROC(ISLAND, island); \
} while (0)
const char*
loground_type_stringify(
loground_type_t type
);
bool
loground_type_unstringify(
loground_type_t* type,
const char* v,
size_t len
);