mirror of
https://github.com/janet-lang/janet
synced 2024-09-30 16:00:40 +00:00
16 lines
343 B
C
16 lines
343 B
C
#ifndef GST_STRINGCACHE_defined
|
|
#define GST_STRINGCACHE_defined
|
|
|
|
#include <gst/gst.h>
|
|
|
|
/****/
|
|
/* String Cache (move internal) */
|
|
/****/
|
|
|
|
void gst_stringcache_init(Gst *vm, uint32_t capacity);
|
|
void gst_stringcache_deinit(Gst *vm);
|
|
uint8_t *gst_stringcache_get(Gst *vm, uint8_t *str);
|
|
void gst_stringcache_remove(Gst *vm, uint8_t *str);
|
|
|
|
#endif
|