|
offbrand
A collection of generic, reference counted datastructures in C for C
|
obstring Private Interface More...
#include "../obstring.h"Go to the source code of this file.
Classes | |
| struct | obstring_struct |
| obstring internal structure, encapsulating all data needed for an instance of obstring More... | |
Functions | |
| obstring * | obstring_create_default (void) |
| Default constructor for obstring. More... | |
| ob_hash_t | obstring_hash (const obj *to_hash) |
| Hash function for obstring. More... | |
| int8_t | obstring_compare (const obj *a, const obj *b) |
| Compares two instances of obstring. More... | |
| void | obstring_display (const obj *str) |
| Display function for an instance of obstring. More... | |
| void | obstring_destroy (obj *to_dealloc) |
| Destructor for obstring. More... | |
obstring Private Interface
Compares two instances of obstring.
| a | A non-NULL obj pointer to type obstring |
| b | A non-NULL obj pointer to type obstring |
| OB_LESS_THAN | obj a is less than b |
| OB_GREATER_THAN | obj a is equivalent to b |
| OB_EQUAL_TO | obj a is greater than b |
| obstring* obstring_create_default | ( | void | ) |
Default constructor for obstring.
| void obstring_destroy | ( | obj * | to_dealloc) |
Destructor for obstring.
| to_dealloc | An obj pointer to an instance of obstring with reference count of 0 |
| void obstring_display | ( | const obj * | str) |
Display function for an instance of obstring.
| str | A non-NULL obj pointer to type obstring |
1.8.4