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

2020-01-12 Thread Al Thomas via vala-list
> On Saturday, 11 January 2020, 01:59:00 GMT, Jason Martin via vala-list wrote: > Does [CCode (type = "char*")] limit string to ascii only? char declares the type so the compiler knows the size of the memory. On POSIX (Unix) and most other platforms that is 8 bits. The * indicates the

[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