ps://github.com/freebsd/pkg/blob/1.9.4/libpkg/pkg.h.in#L1501
> > >
> > > --
> > > olivier
> > > ___
> > > vala-list mailing list
> > > vala-list@gnome.org
> > > https://mail.gnome.org/mailman/
ossible to add an annotation to allow for passing a
> non-SimpleType struct as a value. I don't spend much time in the
> compiler, but I believe a small change to
> valaccodemethodcallmodule.vala would do the trick.
>
>
> -Evan
> ___
> vala-list mai
r-Morency
>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
>
--
--Andre Masella
http://www.masella.name/
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
Vdq58e7b
> T5wQ+Q+nsb21LoQpd+bw2vDlRhmjJcAWXoXG/6YFPIU1zi2n9jTZ3/75m4btG6P1
> sS3L99w22KldN1JDlCCWkH+6bnrQfwOP0YArQbtP7zVWEZCmKtH3ncXrAdrkjhIp
> hcHAzgtsrH2fggQ9VGPMGrVVz5ALTxOMt2qUKtXSoC4LtlNDVFEXAtxvYIj5REjD
> L2rx0BsJxwRq+OQfRsal
> =H26t
> -END PGP SIGNATURE-
> ___
list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
--
--Andre Masella
http://www.masella.name/
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
unowned.
>
> What I want is to do it in a way it's everything handled in the
> constructor with no static method, but don't find how to do it.
>
> What I really want to do is:
>
> Rados.Flags flags=0;
> Rados.ClusterClient cluster = Rados.ClusterC
___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
--
--Andre Masella
http://www.masella.name/
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
1) You can't use `override` for methods in interfaces, only for overriding
base classes.
2) The contents of `foo` are not in scope for `bar`, only they inherited
members because they are now part of `bar`. So `Type` in `bar` is
`GLib.Type` not `foo.Type`.
public interface foo
{
public enum Ty
e (cname = "struct sp_port", has_type_id = "false")]
> > public class Port {
> > [CCode (cname = "sp_get_port_by_name", has_type_id = "false")]
> > static Return get_port_by_name(string name, out
nt even complete
> the vala compile, ccode or vapi changes affect the GBoxedCopyFunc,
> GDestroyNotify and const gchar* stdout who are added
> to the test function in c, Or is is the send char static function that is
> not correct?
>
> greets,
> Steven
>
> ___
>>
>>> ___
>>> vala-list mailing list
>>> vala-list@gnome.org
>>> https://mail.gnome.org/mailman/listinfo/vala-list
>>>
>>>
>>
>>
> --
> Nos leemos
> RASTER(Linux user #228804)
> ras...@rastersoft.com http://www.rastersoft.com
>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
--
--Andre Masella
http://www.masella.name/
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
com http://www.rastersoft.com
>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
--
--Andre Masella
http://www.masella.name/
t; file?
>
> I tried with array_length_pos, but seems to not work in this case.
>
> Thanks.
>
> --
> Nos leemos
> RASTER(Linux user #228804)
> ras...@rastersoft.com http://www.rastersoft.com
>
> ________
lti-dimensional arrays), so binding them is nigh impossible without extra
C code.
> Also did you link this page from some other wiki pages? Which ones?
>
I put a link in the Vala/UpstreamGuide#Writing_By_Hand and Vala/Bindings,
next to the Upstream G
After some discussion with nemequ, I've put together some documentation
about writing bindings for non-GLib C code.
http://wiki.gnome.org/Vala/LegacyBindings
I'm sure there are many other situations that need to be covered, or
alternatives to the ones proposed; please expand or let me know and I'
15 matches
Mail list logo