.
Please take a look at the following page:
http://www.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html
I remember I sent a termios binding to this some time ago. Please take a
look at the archives.
--
Ed Schouten
WWW: http://80386.nl/
pgpb5sP2iegaq.pgp
Description: PGP
on, say, the POSIX
vapi.
But I'm not sure this is required. I seem to recall that you are allowed
to use GPL licensed headers/libraries if the API that is implemented is
a default system interface... But IANAL. :-)
--
Ed Schouten
WWW: http://80386.nl/
pgpfsoCw0
is bad. On a
modern POSIX operating system, we have almost a dozen different types of
file descriptors. File descriptors pointing to an actual object in the
VFS aren't any more important than the others.
--
Ed Schouten
WWW: http://80386.nl/
pgpI1aXGGuOc2.pgp
Descript
* Arto Karppinen <[EMAIL PROTECTED]> wrote:
> If you have a lot of loops inside one another, it needs some figuring
> out which loops happens to be number 2 at any given point.
I bet the compiler already stores references to the current, but also
the parent scope.
--
Ed Scho
t; for (int i=0; i<1000; i++) {
> if (a)
> break pixels;
> if (b)
> continue pixels;
> }
> }
>
> See the "last" and "next" statements of perl for a larger example.
>
> Thanks!
> Dov
Why not do it sh(1) sty
ow how tempting it might be to use SIGIO, stay away from it. SIGIO
is one of these things in POSIX that was added because someone was
bored. There are other tools to implement these things (see sys/select.h
and aio.h).
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://80386.nl/
pgpHuyKzN2
y with the namespace and the class having the same name,
but ideally we should introduce a `POSIX' namespace, which should
contain all POSIX (not ISO C) stuff.
Have fun!
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://80386.nl/
/* termios.vala
*
* Copyright (c) 2008 Ed Schouten &l
PLICATION USAGE').
It is safe to define the XSI bits, though.
If you need any help with this, be sure to mail me. I don't like to
brag, but I'm currently working on a rewrite of the FreeBSD TTY layer
for my graduation, so I should know a lot about the interface.
Good luck!
--
Ed Sch
Are there any plans to release a new libgee one of these days?
Yours,
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://80386.nl/
pgp1Qf51lgO5L.pgp
Description: PGP signature
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
quot; to the
end of the string you're trying to print.
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://g-rave.nl/
pgpHIfiiRByWv.pgp
Description: PGP signature
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
I've got a shorter one:
| using GLib; public class Quine { public static void main() { string s =
"using GLib; public class Quine { public static void main() { string s =
%c%s%c; stdout.printf(s, 34, s, 34); } }"; stdout.printf(s, 34, s, 34); } }
Based on the old C printf tric
Posix socket API:
>
> socket()
> connect()
> bind()
> listen ()
> accept()
> getaddrinfo()
>
> and its related structures.
I saw the .vapi defines some constant numbers. Can't these constants be
different across architectures?
--
Ed Schouten <[EMAIL PROTECT
ot;uint64.min => %llu\n", uint64.MIN);
| stdout.printf ("uint64.max => %llu\n", uint64.MAX);
| }
| }
Output:
| uint.min=> 0
| uint.max=> 4294967295
| ulong.min => 0
| ulong.max => 4294967295
| uint32.min => 0
| uint32.max => 4294967295
| int64.min => -9223372036854775808
| int64.max => 9223372036854775807
| uint64.min => 0
| uint64.max => 18446744073709551615
Be sure to read `man 3 printf'.
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://g-rave.nl/
pgpM8T9sbYswE.pgp
Description: PGP signature
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
* Vlad Grecescu <[EMAIL PROTECTED]> wrote:
> I had this idea for some months now, to write a preprocessor that
> converts xml like the one below into valid GTK+ code:
But... isn't this what Glade already does?
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://g-rave.
ler will do
the inlining for you.
Whether you can write your own inline routines from within Vala? I think
you can't.
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://g-rave.nl/
pgpaqdNnWo4lu.pgp
Description: PGP signature
___
Vala
* Jürg Billeter <[EMAIL PROTECTED]> wrote:
> interface Foo {
> public abstract int bar (int x)
> requires (x > 0)
> ensures (result > 0);
> }
Is this turned into run-time assertions, or is there some compile-time
range checking
rrayLength]
| public bool get_dest_row_at_pos (int drag_x, int drag_y, out weak |
Gtk.TreePath path, Gtk.TreeViewDropPosition[] pos);
This will omit the length argument.
--
Ed Schouten <[EMAIL PROTECTED]>
WWW: http://g-rave.nl/
pgpaVlWKvQeRW.pgp
Description: PGP signature
___
ead to crashes. As written before, future versions of
> valac won't allow to call close() manually for variables using automatic
> memory management.
Indeed. Just setting the variable to `null' would be a more elegant
solution. That's what I did with the Curses bindings as wel
18 matches
Mail list logo