~ubuntu-branches/ubuntu/maverick/vala/maverick

« back to all changes in this revision

Viewing changes to vala/valabaseaccess.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-04-02 10:10:55 UTC
  • mfrom: (1.4.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402101055-qbx3okzv0tnp3wpp
Tags: 0.8.0-0ubuntu1
* New upstream release:
  - Infer type arguments when calling generic methods.
  - Support `in' operator for arrays.
  - Add experimental support for regular expression literals.
  - Add experimental support for chained relational expressions.
  - Add va_list support.
  - Add clutter-gtk-0.10 bindings (Gordon Allott).
  - Add gdl-1.0 bindings (Nicolas Joseph).
  - Add gstreamer-app-0.10 bindings (Sebastian Dröge).
  - Add gstreamer-cdda-0.10 bindings (Sebastian Dröge).
  - Add gudev-1.0 bindings (Jim Nelson).
  - Add libgda-report-4.0 bindings (Shawn Ferris).
  - Add libgvc (graphviz) bindings (Martin Olsson).
  - Add purple bindings (Adrien Bustany).
  - Many bug fixes and binding updates.
* debian/patches/99_ltmain_as-needed.patch: refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
void vala_code_node_unref (gpointer instance);
244
244
GParamSpec* vala_param_spec_code_node (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
245
245
void vala_value_set_code_node (GValue* value, gpointer v_object);
 
246
void vala_value_take_code_node (GValue* value, gpointer v_object);
246
247
gpointer vala_value_get_code_node (const GValue* value);
247
248
GType vala_code_node_get_type (void);
248
249
gpointer vala_code_visitor_ref (gpointer instance);
249
250
void vala_code_visitor_unref (gpointer instance);
250
251
GParamSpec* vala_param_spec_code_visitor (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
251
252
void vala_value_set_code_visitor (GValue* value, gpointer v_object);
 
253
void vala_value_take_code_visitor (GValue* value, gpointer v_object);
252
254
gpointer vala_value_get_code_visitor (const GValue* value);
253
255
GType vala_code_visitor_get_type (void);
254
256
GType vala_semantic_analyzer_get_type (void);
266
268
void vala_source_reference_unref (gpointer instance);
267
269
GParamSpec* vala_param_spec_source_reference (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
268
270
void vala_value_set_source_reference (GValue* value, gpointer v_object);
 
271
void vala_value_take_source_reference (GValue* value, gpointer v_object);
269
272
gpointer vala_value_get_source_reference (const GValue* value);
270
273
GType vala_source_reference_get_type (void);
271
274
void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceReference* value);
327
330
 
328
331
static char* vala_base_access_real_to_string (ValaCodeNode* base) {
329
332
        ValaBaseAccess * self;
330
 
        char* result;
 
333
        char* result = NULL;
331
334
        self = (ValaBaseAccess*) base;
332
335
        result = g_strdup ("base");
333
336
        return result;
336
339
 
337
340
static gboolean vala_base_access_real_is_pure (ValaExpression* base) {
338
341
        ValaBaseAccess * self;
339
 
        gboolean result;
 
342
        gboolean result = FALSE;
340
343
        self = (ValaBaseAccess*) base;
341
344
        result = TRUE;
342
345
        return result;
345
348
 
346
349
static gboolean vala_base_access_real_check (ValaCodeNode* base, ValaSemanticAnalyzer* analyzer) {
347
350
        ValaBaseAccess * self;
348
 
        gboolean result;
 
351
        gboolean result = FALSE;
349
352
        self = (ValaBaseAccess*) base;
350
353
        g_return_val_if_fail (analyzer != NULL, FALSE);
351
354
        if (vala_code_node_get_checked ((ValaCodeNode*) self)) {
406
409
 
407
410
 
408
411
GType vala_base_access_get_type (void) {
409
 
        static GType vala_base_access_type_id = 0;
410
 
        if (vala_base_access_type_id == 0) {
 
412
        static volatile gsize vala_base_access_type_id__volatile = 0;
 
413
        if (g_once_init_enter (&vala_base_access_type_id__volatile)) {
411
414
                static const GTypeInfo g_define_type_info = { sizeof (ValaBaseAccessClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) vala_base_access_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValaBaseAccess), 0, (GInstanceInitFunc) vala_base_access_instance_init, NULL };
 
415
                GType vala_base_access_type_id;
412
416
                vala_base_access_type_id = g_type_register_static (VALA_TYPE_EXPRESSION, "ValaBaseAccess", &g_define_type_info, 0);
 
417
                g_once_init_leave (&vala_base_access_type_id__volatile, vala_base_access_type_id);
413
418
        }
414
 
        return vala_base_access_type_id;
 
419
        return vala_base_access_type_id__volatile;
415
420
}
416
421
 
417
422