offbrand
A collection of generic, reference counted datastructures in C for C
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Macros
Groups
include
obmap.h
Go to the documentation of this file.
1
7
#ifndef OBMAP_H
8
#define OBMAP_H
9
10
#include "
offbrand.h
"
11
13
typedef
struct
obmap_struct
obmap
;
14
15
16
/* PUBLIC METHODS */
17
23
obmap
*
obmap_new
(
void
);
24
30
obmap
*
obmap_new_with_capacity
(uint32_t capacity);
31
38
obmap
*
obmap_copy
(
const
obmap
*to_copy);
39
50
void
obmap_insert
(
obmap
*m,
obj
*key,
obj
*value);
51
61
obj
*
obmap_lookup
(
const
obmap
*m,
const
obj
*key);
62
74
void
obmap_remove
(
obmap
*m,
obj
*key);
75
84
void
obmap_rehash
(
obmap
*m);
85
92
void
obmap_clear
(
obmap
*m);
93
94
#endif
95
Generated on Sun Jun 30 2013 15:56:45 for offbrand by
1.8.4