develooper Front page | perl.beginners | Postings from September 2008

XS array of arrays

From:
Patrick Dupre
Date:
September 2, 2008 09:59
Subject:
XS array of arrays
Hello,

I wanted to return an array of arrays from c to perl.
I build up my arrays by unisng av_push, but then ?
I cannot av_push a AV*, so should I make a newSV and filled it
by casting, or should I make a newRV with the AV* (after casting)
and push it ?

Thank


-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520@york.ac.uk
==========================================================================



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About