diff options
author | Juerg Billeter <j@bitron.ch> | 2007-12-04 13:28:30 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2007-12-04 13:28:30 +0000 |
commit | 5ed95ffb0596aa73061a5ad7590539f09a5e84d0 (patch) | |
tree | a9e9dedbe4425145276f2f711ff38a66ec4125c8 /vala/valanulltype.vala | |
parent | e5b456f7ba36c1009a386bcec54641862d097fc9 (diff) | |
download | vala-5ed95ffb0596aa73061a5ad7590539f09a5e84d0.tar.gz |
add NullType and VoidType classes
2007-12-04 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valanulltype.vala, vala/valavoidtype.vala,
gobject/valaccodegenerator.vala: add NullType and VoidType classes
svn path=/trunk/; revision=754
Diffstat (limited to 'vala/valanulltype.vala')
-rw-r--r-- | vala/valanulltype.vala | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/vala/valanulltype.vala b/vala/valanulltype.vala new file mode 100644 index 000000000..2efbaaac7 --- /dev/null +++ b/vala/valanulltype.vala @@ -0,0 +1,31 @@ +/* valanulltype.vala + * + * Copyright (C) 2007 Jürg Billeter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * Author: + * Jürg Billeter <j@bitron.ch> + */ + +using GLib; + +/** + * The type of the null literal. + */ +public class Vala.NullType : ReferenceType { + public NullType () { + } +} |