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/pool.h
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

40 lines
748 B
C

#pragma once
#include <stddef.h>
#include <msgpack.h>
#include "util/math/vector.h"
#include "core/lobullet/pool.h"
#include "core/locommon/counter.h"
#include "core/loshader/ground.h"
#include "./base.h"
struct loground_pool_t;
typedef struct loground_pool_t loground_pool_t;
loground_pool_t* /* OWNERSHIP */
loground_pool_new(
loshader_ground_drawer_t* drawer,
locommon_counter_t* idgen,
size_t length
);
void
loground_pool_delete(
loground_pool_t* pool /* OWNERSHIP */
);
loground_base_t* /* OWNERSHIP */
loground_pool_create(
loground_pool_t* pool
);
loground_base_t* /* OWNERSHIP/NULLABLE */
loground_pool_unpack_item(
loground_pool_t* pool,
const msgpack_object* obj
);