/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/Func.h

  • Committer: Gustav Hartvigsson
  • Date: 2015-04-07 08:35:51 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150407083551-eigkistus394ds7e
* Made the code compile using CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
/**
73
73
 *
74
74
 */
75
 
typedef void (* FreeFunc)(void *);
 
75
typedef void (* FreeFunc)(spointer obj);
 
76
 
 
77
/**
 
78
 *
 
79
 */
 
80
typedef void (* ForEachFunc)(spointer obj, spointer item, spointer data);
76
81
 
77
82
#define METHOD(k) ((MethodFunc) k)
78
83
#define FUNCTION(k) ((FuncPointer) k)
79
84
#define FREEFUNC(k) ((FreeFunc) k)
 
85
 
80
86
/**
81
87
 * A CompFunc represents a standard comparison function.
82
88
 *