On 03/08/2017 06:51 AM, Will Coleda wrote:
Perl 6 uses "NativeCall" to call out to native library functions. I
would start with
https://docs.perl6.org/language/nativecall
and come back with specific questions.
Oh poop I have a lot of reading to do. Found a
great example over at:
http://rosettacode.org/wiki/Window_creation/X11#Perl_6
I will start with reading what my display is (:0.0).
And I didn't get far trying to run the example:
<code>
class Display is repr('CStruct') {}
</code>
Class Display has no attributes, which is illegal with
the CStruct representation.
What in the world?
-T