On Wed, Nov 24, 2010 at 10:17:37 +0800, Ervin wrote: > How can i use BUFSIZ from stdio.h?
Just declare it extern somewhere. I believe
namespace Posix {
[CCode(cname = "BUFSIZ", cheader_filename = "stdio.h")]
public extern const int BUFSIZ;
}
should do the trick.
--
Jan 'Bulb' Hudec <[email protected]>
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list
