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

  • Committer: Gustav Hartvigsson
  • Date: 2015-07-12 19:04:18 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150712190418-yi9rfito5ovnf6dy
* Made the code more easy to read.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
};
50
50
 
51
51
 
52
 
struct SCallbackEntry {
 
52
struct
 
53
SCallbackEntry {
53
54
  char * name; /**< The name that is used to invoke the callback. */
54
55
  SCallbackType type; /**< The type of the callback, is it a standard callback
55
56
                       * or a notify? */
70
71
 * @param obj The object to install the callback entries into.
71
72
 * @param callbackentries an array containing the callback entries.
72
73
 */
73
 
void s_object_install_callbacks (SObject * obj, SCallbackEntry ** callcackentries);
 
74
void
 
75
s_object_install_callbacks (SObject * obj, SCallbackEntry ** callcackentries);
74
76
 
75
77
/**
76
78
 * Installs a singel callback into an SObject.
78
80
 * @param obj The object to install the callback into.
79
81
 * @param callbackentry The callback entry to install.
80
82
 */
81
 
void s_object_install_callback (SObject * obj, SCallbackEntry * callbackentry);
 
83
void
 
84
s_object_install_callback (SObject * obj, SCallbackEntry * callbackentry);
82
85
 
83
86
/**
84
87
 * 
85
88
 */
86
 
spointer s_object_notify (SObject * self, char * name, spointer * data);
 
89
spointer
 
90
s_object_notify (SObject * self, char * name, spointer * data);
87
91
 
88
92
/**
89
93
 * Alias to s_object_notify()