Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types in NativeCall should have .ref method #5725

Open
p6rt opened this issue Oct 5, 2016 · 1 comment
Open

Types in NativeCall should have .ref method #5725

p6rt opened this issue Oct 5, 2016 · 1 comment
Labels
NativeCall RFC Request For Comments

Comments

@p6rt
Copy link

p6rt commented Oct 5, 2016

Migrated from rt.perl.org#129809 (status was 'new')

Searchable as RT129809$

@p6rt
Copy link
Author

p6rt commented Oct 5, 2016

From @titsuki

I mean something like the following example.

$ perl6 -MNativeCall -e 'my int32 $a = 10; $a.ref.say' 
# NativeCall​::Types​::Pointer[int32]<0x414a0a0>

$ perl6 -MNativeCall -e 'my CArray[int32] $a .= new; $a[0] = 10; $a.ref.say'
# NativeCall​::Types​::Pointer[NativeCall​::Types​::CArray[int32]]<0x3ddebc0>

@p6rt p6rt added NativeCall RFC Request For Comments labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NativeCall RFC Request For Comments
Projects
None yet
Development

No branches or pull requests

1 participant