libscratchcpp
A library for C++ based Scratch project players
Toggle main menu visibility
Loading...
Searching...
No Matches
string_pool.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: Apache-2.0
2
3
#pragma once
4
5
#include "
global.h
"
6
7
namespace
libscratchcpp
8
{
9
10
struct
StringPtr
;
11
12
extern
"C"
13
{
14
LIBSCRATCHCPP_EXPORT
StringPtr
*
string_pool_new
();
15
LIBSCRATCHCPP_EXPORT
void
string_pool_free
(
StringPtr
*str);
16
}
17
18
}
// namespace libscratchcpp
global.h
LIBSCRATCHCPP_EXPORT
#define LIBSCRATCHCPP_EXPORT
Definition
global.h:17
libscratchcpp
The main namespace of the library.
Definition
asset.h:10
libscratchcpp::string_pool_free
LIBSCRATCHCPP_EXPORT void string_pool_free(StringPtr *str)
Definition
string_pool.cpp:53
libscratchcpp::string_pool_new
LIBSCRATCHCPP_EXPORT StringPtr * string_pool_new()
Definition
string_pool.cpp:29
libscratchcpp::StringPtr
The StringPtr struct holds a string data pointer and string size.
Definition
stringptr.h:14
include
scratchcpp
string_pool.h
Generated by
1.17.0