Patrick R. Michaud wrote:
> In r32873 I've updated assignment semantics so that it now tries to
> do the right thing when dealing with something coming from outside
> Rakudo's type system. In particular, assigning an UnManagedStruct
> to a scalar value should now properly take a reference instead
On Wed, Nov 19, 2008 at 04:57:34PM +0900, Simon Cozens wrote:
> [...]
> From this I can conclude that my PIR open() code correctly returns an
> UnManagedStruct PMC; however, when Perl 6's assignment operator assigns
> this to a variable, a new, empty UnManagedStruct PMC is created and no
> longer c
I'm writing an SQLite extension. I have it working fine in PIR, but the
bridge to Perl 6 is causing problems. Specifically, this Perl 6 code works:
SQLite::pmc_check(SQLite::open("test.db"));
# Returning 0x2d1efa0
# PMC 0xedf1a8 data pointer 0x2d1efa0
# PMC 0xedf1a8 data pointer 0x2d1efa0
But thi