/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to src/Map.h

  • Committer: Gustav Hartvigsson
  • Date: 2013-09-09 17:17:51 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130909171751-jik10mg7w238ouzg
* Made sure the code compiled
* switched GCC to C11 mode...
     Why is this not standard? It is not even C99 FFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 */
33
33
 
34
34
#include "SimpleTypeSystem.h"
35
 
#include "baseobject.h"
36
35
#include <stdbool.h>
37
36
 
38
37
/** @brief
116
115
 * The @c CompFunc returns true if the first and second parameters are equal,
117
116
 * otherwise false.
118
117
 *
119
 
 * @TODO:
 
118
 * @todo
120
119
 * Check if free_key and/or free_value is null and set them to something
121
120
 * appropriate.
122
121
 */
136
135
 * @param self the SMap to add the key/value pair to.
137
136
 * @param key the key that is used to
138
137
 *
139
 
 * @TODO:
 
138
 * @todo
140
139
 *  make it return false on failiour, or some other nastiness.
141
140
 */
142
141
void s_map_add (SMap * self ,void * key, void * value);
151
150
void * s_map_get (SMap * self, void * key);
152
151
 
153
152
/**
154
 
 * @TODO
 
153
 * @todo
155
154
 */
156
155
void  s_map_remove (SMap * self, void * key);
157
156