I need help with NativeCall

2018-03-02 Thread ToddAndMargo
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

Re: I need help with NativeCall

2018-03-02 Thread ToddAndMargo
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

Re: I need help with NativeCall

2018-03-02 Thread Richard Hainsworth
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