make pkpy_Str__take_buf hidden

This commit is contained in:
方而静 2024-06-11 19:18:31 +08:00
parent 8ad42752b2
commit b4198bb448
Signed by: szTom
GPG Key ID: 072D999D60C6473C
2 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,6 @@ inline int pkpy_Str__size(const pkpy_Str* self){
int pkpy_utils__u8_header(unsigned char c, bool suppress);
void pkpy_Str__ctor(pkpy_Str* self, const char* data);
void pkpy_Str__ctor2(pkpy_Str* self, const char* data, int size);
void pkpy_Str__take_buf(pkpy_Str *self, char *data, int size);
void pkpy_Str__dtor(pkpy_Str* self);
pkpy_Str pkpy_Str__copy(const pkpy_Str* self);
pkpy_Str pkpy_Str__concat(const pkpy_Str* self, const pkpy_Str* other);

View File

@ -4,6 +4,8 @@
#include <stdlib.h>
#include <string.h>
void pkpy_Str__take_buf(pkpy_Str *self, char *data, int size);
void pkpy_SourceData__ctor(struct pkpy_SourceData* self,
const char* source,
int source_size,