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/loparticle/misc.h
falsycat 80b3b82332 [RELEASE] u22-v04
This version is submitted for U22 final presentation. (squashed 158 commits)
2021-02-07 00:00:00 +00:00

26 lines
444 B
C

#pragma once
#include <stdbool.h>
#include <stddef.h>
/* don't forget to update EACH macro */
typedef enum {
LOPARTICLE_TYPE_AURA_GUARD,
} loparticle_type_t;
#define LOPARTICLE_TYPE_EACH_(PROC) do { \
PROC(AURA_GUARD, aura_guard); \
} while (0)
const char*
loparticle_type_stringify(
loparticle_type_t type
);
bool
loparticle_type_unstringify(
loparticle_type_t* type,
const char* v,
size_t len
);