Re: [Vala] difference between using IntegerType and inheriting



You inherit all the methods from uint32? ;)


On Sun, Jan 5, 2014 at 9:51 PM, rastersoft <raster rastersoft com> wrote:

Hi again:

Another doubt I have is: what is the difference between doing:

    [SimpleType]
    [IntegerType (rank = 9)]
    [CCode (cname = "c_name", has_type_id = false)]
    public struct StructName {
    }

and

    [SimpleType]
    [CCode (cname = "c_name", has_type_id = false)]
    public struct StructName : uint32 {
    }

Thanks

--
Nos leemos
                         RASTER    (Linux user #228804)
raster rastersoft com              http://www.rastersoft.com

_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list




-- 
www.debian.org - The Universal Operating System


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]