/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 docs/inheritance.html

  • Committer: Gustav Hartvigsson
  • Date: 2013-09-07 15:11:44 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130907151144-84vn00twipc10xa4
* Made a few changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    <p>
69
69
      <code>Foo.c</code>
70
70
    </p>
 
71
    <hr/>
71
72
    <pre>
72
73
#include "Foo.h"
73
74
 
108
109
}
109
110
 
110
111
    </pre>
 
112
    <hr/>
111
113
    <p>
112
114
      Now we are almost done, the only things that remain is to write the
113
115
      methods. but first we have to go through what the code does.
132
134
      In the start of the <code>C</code>-file we wrote some prototypes or
133
135
      declarations of these methods, now it is time to implement them.
134
136
    </p>
 
137
    <hr/>
135
138
    <pre>
136
139
void foo_deinit_method (Foo * self) {
137
140
  FooClass klass = (FooClass *) s_base_object_get_class (self);
152
155
  }
153
156
}
154
157
    </pre>
 
158
    <hr/>
155
159
    <p>
156
160
      And that is it.
157
161
    </p>