~ubuntu-branches/ubuntu/vivid/vala/vivid

« back to all changes in this revision

Viewing changes to ccode/valaccodefragment.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-07-28 07:58:01 UTC
  • mfrom: (1.5.5 upstream) (7.3.14 experimental)
  • Revision ID: james.westby@ubuntu.com-20100728075801-18u9cg5hv5oety6m
Tags: 0.9.4-1
New upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
 
127
127
 
128
128
 
 
129
/**
 
130
 * Appends the specified code node to this code fragment.
 
131
 *
 
132
 * @param node a C code node
 
133
 */
129
134
void vala_ccode_fragment_append (ValaCCodeFragment* self, ValaCCodeNode* node) {
130
135
        g_return_if_fail (self != NULL);
131
136
        g_return_if_fail (node != NULL);
138
143
}
139
144
 
140
145
 
 
146
/**
 
147
 * Returns a copy of the list of children.
 
148
 *
 
149
 * @return children list
 
150
 */
141
151
ValaList* vala_ccode_fragment_get_children (ValaCCodeFragment* self) {
142
152
        ValaList* result = NULL;
143
153
        g_return_val_if_fail (self != NULL, NULL);
245
255
}
246
256
 
247
257
 
 
258
/**
 
259
 * Represents a container for C code nodes.
 
260
 */
248
261
GType vala_ccode_fragment_get_type (void) {
249
262
        static volatile gsize vala_ccode_fragment_type_id__volatile = 0;
250
263
        if (g_once_init_enter (&vala_ccode_fragment_type_id__volatile)) {