Ticket #112 (closed patch: fixed)

Opened 13 years ago

Last modified 13 years ago

[patch] Add 'pop', 'push', 'shift' and 'unshift' methods to ResizableStringArray PMCs

Reported by: geraud Owned by:
Priority: normal Milestone:
Component: core Version: trunk
Severity: medium Keywords:
Cc: Language:
Patch status: new Platform: freebsd

Description

While playing around with RSA, I tried to copy some code that dealt with ResizablePMCArray and found that $P0.'push'(...) didn't work. With hints from people on IRC I looked at the associated .pmc files and came up with this patch. Took the liberty to duplicate the tests in t/pmc/resizablestringarray.t so that the new syntax is also covered.

While there, updated the copyright dates.

Attachments

rsa.diff Download (12.3 KB) - added by geraud 13 years ago.

Change History

Changed 13 years ago by geraud

Changed 13 years ago by cotto

  • status changed from new to closed
  • resolution set to fixed

committed in r35327. Thanks for submitting!

Note: See TracTickets for help on using tickets.