wchar_t
- 32 bits on my machine. From the NativeCall doco, you can declare an array of them, and the name of the array will act as a pointer;
#!/usr/bin/env perl6 use v6; use NCurses;
This prints "βΊ β" on my machine. This does not work without calling setlocale.
As an aside, you donβt need to use the βwβ functions, you can just wrap normal perl6 lines (supposedly encoded by UTF-8), and that just works. This gives the same result:
#!/usr/bin/env perl6 use v6; use NCurses; use NativeCall;
Marty source share