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 f
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 $.th32DefaultH
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 PRO
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 i