Todd,
I figured out some of NativeCall by working with the GTK subroutines.
Eventually, I had to write some programs in C to use GTK natively before
getting a good understanding about how GTK-Simple works.
In addition, I have not figured out how to access CStruct variables yet.
So my code do
Hello,
Using Rakudo 2018.01:
my Rat $rat-from-literal = 1.23456789;
my Rat $rat-from-str = "1.23456789".Rat;
my Real $real = 1.23456789e0;
my Rat $rat-from-real = $real.Rat;
say $rat-from-literal.nude; # (123456789 1)
say $rat-from-literal.S
On 03/02/2018 11:31 AM, ToddAndMargo wrote:
Hi All,
https://docs.perl6.org/language/nativecall
I just don't understand.
I want specifically (not a work around) want to make a
call to "getaddrinfo" and I don't know how to write in C.
(It is part of troubleshooting some other code that uses
geta
Hi All,
https://docs.perl6.org/language/nativecall
I just don't understand.
I want specifically (not a work around) want to make a
call to "getaddrinfo" and I don't know how to write in C.
(It is part of troubleshooting some other code that uses
getaddrinfo. I want to see what it sees.)
The p