/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-09 18:45:12 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150409184512-fn8m3f26mzsqdy4n
* Started to structuce the dectumentation a little better.
* Added Callback.[c,h] which will contain the methods to add callbacks to SObjects.
  This is still a work it pregross.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#ifndef __H_FUNC__
25
25
#define __H_FUNC__
26
 
/** @file
27
 
 * Generic function pointer definitions and data stuctures to do with
28
 
 * functions.
29
 
 * 
30
 
 * @todo create an object type that can hold functions and be able to run them.
31
 
 */
32
26
 
33
27
 
34
28
#include "defs.h"
38
32
 
39
33
BEGIN_DECLS
40
34
 
 
35
 
 
36
/** @file
 
37
 * Generic function pointer definitions and data stuctures to do with
 
38
 * functions.
 
39
 * 
 
40
 * @todo create an object type that can hold functions and be able to run them.
 
41
 */
 
42
 
 
43
 
41
44
/*
42
45
 * This data structure holds a pointer to a function.
43
46
 *
59
62
typedef void (* FuncPointer)(void);
60
63
 
61
64
/**
 
65
 * A generic callback function.
62
66
 *
 
67
 * A callback function can have any signature.
63
68
 */
64
69
typedef void (* Callback)(void);
65
70