Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#ifndef DYNSTR_H
|
||||
#define DYNSTR_H
|
||||
#include <stdio.h>
|
||||
|
||||
typedef struct {
|
||||
int size;
|
||||
@@ -15,6 +16,10 @@ String_t str_from_slice(char* string, int len);
|
||||
|
||||
String_t str_merge(String_t* s1, String_t* s2);
|
||||
|
||||
String_t str_from_file(FILE* file);
|
||||
|
||||
int str_push_str(String_t* string, char* other);
|
||||
|
||||
String_t str_new();
|
||||
|
||||
String_t* str_lines(String_t* self, int* numlines);
|
||||
|
||||
Reference in New Issue
Block a user