offbrand
A collection of generic, reference counted datastructures in C for C
 All Classes Files Functions Variables Typedefs Macros Groups
obstring_private.h
Go to the documentation of this file.
1 
7 #ifndef OBSTRING_PRIVATE_H
8 #define OBSTRING_PRIVATE_H
9 
10 #include "../obstring.h"
11 
12 /* DATA */
13 
20  char *str;
21  uint32_t length;
22 };
23 
24 
25 /* PRIVATE METHODS */
26 
34 
40 ob_hash_t obstring_hash(const obj *to_hash);
41 
52 int8_t obstring_compare(const obj *a, const obj *b);
53 
59 void obstring_display(const obj *str);
60 
68 void obstring_destroy(obj *to_dealloc);
69 
70 #endif
71