Re: initializing Pointer

[email protected] (ToddAndMargo via perl6-users)
Newsgroups perl.perl6.users
Message-ID <[email protected]>
On 12/23/23 00:21, Marcel Timmerman wrote:
> (perhaps already received but I'd got an error back saying '*Delivery 
> has failed to these recipients or groups*' [email protected], So 
> here it comes again.....)
> 
> 
> 
> 
> Thanks Elizabeth and Todd;

You are most welcome.

> 
> I will set up my own pointer routine, something like this
> 
> method make-pointer ( $type, $value ) {
>    my $array = CArray[$type].new($value);
>    nativecast( Pointer[$type], $array)
> }
> 
> I forgot the way to make the method type depended and how to search for 
> it in the docs.
> 
> Regards,
> Marcel

Came through on both attempts at this end.

-T
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.