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

  • Committer: Gustav Hartvigsson
  • Date: 2014-11-24 17:37:05 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20141124173705-iu97keoxp0qfxlxm
* Made code compile

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include "baseobject.h"
29
29
#include "defs.h"
30
 
#include "utils"
 
30
#include "utils.h"
 
31
#include "Func.h"
31
32
#include <limits.h>
32
33
#include <stdlib.h>
33
34
#include <stdio.h>
34
35
#include <string.h>
35
36
 
 
37
BEGIN_DECLS
 
38
 
36
39
/**
37
40
 * An opaque datastructure that holds the SError's private data.
38
41
 */
45
48
 * An SError represents an error that can occur.
46
49
 */
47
50
typedef struct _SError {
48
 
  SBaseObjectInstance parent;
 
51
  SObject parent;
49
52
  SErrorPrivate * priv; /** Pimple pointer to the private data. */
50
53
  
51
54
} SError;
54
57
 * The error class is not changed, no extra methods are needed.
55
58
 */
56
59
typedef struct _SErrorClass {
57
 
  SBaseObjectClass parent_class;
 
60
  SObjectClass parent_class;
58
61
  
59
62
} SErrorClass;
60
63
 
90
93
 */
91
94
void s_error_print_error (SError * self);
92
95
 
 
96
END_DECLS
 
97
 
93
98
#endif