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

« back to all changes in this revision

Viewing changes to vala/valanulltype.vala

  • 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:
1
1
/* valanulltype.vala
2
2
 *
3
 
 * Copyright (C) 2007-2009  Jürg Billeter
 
3
 * Copyright (C) 2007-2010  Jürg Billeter
4
4
 *
5
5
 * This library is free software; you can redistribute it and/or
6
6
 * modify it under the terms of the GNU Lesser General Public
63
63
        }
64
64
 
65
65
        public override string? get_cname () {
66
 
                return "gpointer";
 
66
                if (CodeContext.get ().profile == Profile.GOBJECT) {
 
67
                        return "gpointer";
 
68
                } else {
 
69
                        return "void *";
 
70
                }
67
71
        }
68
72
 
69
73
        public override bool is_disposable () {