Re: NativeCall -- size of data structure

2021-01-02 Thread Paul Procacci
nativesizeof is what I was looking for. Thanks, ~Paul On Sat, Jan 2, 2021 at 8:39 PM ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > On 1/2/21 4:58 PM, Paul Procacci wrote: > > Hey Gents, > > > > Hopefully a simple question that I could not find the answer to. > > > > Given the

Re: NativeCall -- size of data structure

2021-01-02 Thread ToddAndMargo via perl6-users
On 1/2/21 4:58 PM, Paul Procacci wrote: Hey Gents, Hopefully a simple question that I could not find the answer to. Given the following: class PROCESSENTRY32 is repr('CStruct') { has int32 $.dwSize; has int32 $.cntUsage; has int32 $.th32ProcessID; has Pointer

Re: NativeCall -- size of data structure

2021-01-02 Thread Paul Procacci
Apologies. I just came across it. nativesizeof is the subroutine you're looking for. Again, sorry for the noise. ~Paul On Sat, Jan 2, 2021 at 7:58 PM Paul Procacci wrote: > Hey Gents, > > Hopefully a simple question that I could not find the answer to. > > Given the following: > > class

NativeCall -- size of data structure

2021-01-02 Thread Paul Procacci
Hey Gents, Hopefully a simple question that I could not find the answer to. Given the following: class PROCESSENTRY32 is repr('CStruct') { has int32 $.dwSize; has int32 $.cntUsage; has int32 $.th32ProcessID; has Pointer $.th32DefaultHeapID; has int32 $.th32ModuleID; has