}
public class IOChannel {
- [CCode(name = "gnet_io_channel_writen")]
+ [CCode(cname = "gnet_io_channel_writen")]
public static GLib.IOError writen(GLib.IOChannel chan, string buf,
size_t len, out size_t bytes_written);
- [CCode(name = "gnet_io_channel_readn")]
+ [CCode(cname = "gnet_io_channel_readn")]
public static GLib.IOError readn(GLib.IOChannel chan, string buf,
size_t len, out size_t bytes_read);
- [CCode(name = "gnet_io_channel_readline")]
+ [CCode(cname = "gnet_io_channel_readline")]
public static GLib.IOError readline(GLib.IOChannel chan, string buf,
size_t len, out size_t bytes_read);
- [CCode(name = "gnet_io_channel_readline_strdup")]
+ [CCode(cname = "gnet_io_channel_readline_strdup")]
public static GLib.IOError readline_strdup(GLib.IOChannel chan,
out string buf,
size_t bytes_read);
-[CCode (cprefix = "FTDI_", lower_case_prefix = "ftdi_", cheader_filename = "ftdi.h")]
+[CCode (cprefix = "FTDI_", lower_case_cprefix = "ftdi_", cheader_filename = "ftdi.h")]
namespace FTDI {
public const int DEFAULT_EEPROM_SIZE;
SET_TEARSYNC
}
- [Flags, CCode (cname = "int", has_type_id = false, prefix = "OMAPFB_CAPS_")]
+ [Flags, CCode (cname = "int", has_type_id = false, cprefix = "OMAPFB_CAPS_")]
public enum Caps {
GENERIC_MASK,
LCDC_MASK,
[CCode (cheader_filename = "unistd.h")]
public int execlp (string path, params string[] arg);
[CCode (cheader_filename = "unistd.h")]
- public int execv (string path, [CCode (array_length = false, null_terminated = true)] string[] arg);
+ public int execv (string path, [CCode (array_length = false, array_null_terminated = true)] string[] arg);
[CCode (cheader_filename = "unistd.h")]
- public int execvp (string path, [CCode (array_length = false, null_terminated = true)] string[] arg);
+ public int execvp (string path, [CCode (array_length = false, array_null_terminated = true)] string[] arg);
[CCode (cheader_filename = "unistd.h")]
- public int pipe ([CCode (array_length = false, null_terminated = false)] int[] pipefd);
+ public int pipe ([CCode (array_length = false, array_null_terminated = false)] int[] pipefd);
[CCode (cheader_filename = "unistd.h")]
public ssize_t read (int fd, void* buf, size_t count);
[CCode (cheader_filename = "unistd.h")]
public int inflate (int flush);
[CCode (cname = "inflateSetDictionary")]
public int set_dictionary ([CCode (array_length_type = "guint")] uint8[] dictionary);
- [CCode (cnmae = "inflateSync")]
+ [CCode (cname = "inflateSync")]
public int sync ();
public int reset ();
public int prime (int bits, int value);