[Vala] Help with manual binding vapi for old C lib that uses only ASCII.

2020-01-10 Thread Jason Martin via vala-list
In libgvc.vapi : [CCode (cname = "gvLayout")] public int layout (Graph graph, [CCode (type = "char*")] string layout_engine); Does [CCode (type = "char*")] limit string to ascii only? If not should I just use char*? ___ vala-list mailing list

[Vala] Vala syntax file for Midnight Commander editor

2019-06-19 Thread Jason Martin via vala-list
https://raw.githubusercontent.com/agrellum/NetRexx-Samples/master/vala.syntax See this post to add it. https://superuser.com/questions/386904/is-it-possible-and-how-make-user-customization-for-syntax-highlighting-in-buil ___ vala-list mailing list

Re: [Vala] Why is 77 greater than 4294967295?

2018-11-23 Thread Jason Martin via vala-list
You can look at the old code base here. https://sourceforge.net/p/netrexx/code/ci/netrexx4android/tree/GObjexx.tar.gz?format=raw Just want to get it out there and working. Can not think and reason like I used too. ___ vala-list mailing list

Re: [Vala] Why is 77 greater than 4294967295?

2018-11-23 Thread Jason Martin via vala-list
Thanks, for the replys. Finishing a Vala project, I started 3 years ago. The Rexx data type and functions for the GObject system. Just writing unit tests and working out bugs. I am working with unichar in Vala. From Wikipedia, "Unicode 11.0, contains a repertoire of 137,439 characters" -

[Vala] Why is 77 greater than 4294967295?

2018-11-22 Thread Jason Martin via vala-list
// simple vala code void main () {     long i = 77;     stdout.printf ("%ld\n", i); // outputs 77     stdout.printf ("%u\n", uint.MIN); // outputs 0     if (i < uint.MIN) {         stdout.printf ("Never made it here.\n");     }     stdout.printf ("%u\n", uint.MAX); // outputs 4294967295 //

[Vala] valadoc - How do I avoid this.

2018-09-14 Thread Jason Martin via vala-list
error: unexpected token:   * The '//' operator. using this code documentation /**  * The '//' operator.  */ ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list