STASH to XS

[email protected] (Patrick Dupre)
Newsgroups perl.xs
Message-ID <[email protected]>
Hello,

How can I pass a STASH (Math::GSL::Matrix::gsl_matrix)
into a C through an XS ?

In other word, what should I put into my XS file to get access
to the STASH ?

Thank





SV = RV(0x26ac3c0) at 0x26ac3b0
   REFCNT = 1
   FLAGS = (PADMY,ROK)
   RV = 0x1e2fcd8
   SV = PVHV(0x2632610) at 0x1e2fcd8
     REFCNT = 1
     FLAGS = (OBJECT,RMG,OVERLOAD,SHAREKEYS)
     MAGIC = 0x237da08
       MG_VIRTUAL = &PL_vtbl_pack
       MG_TYPE = PERL_MAGIC_tied(P)
       MG_FLAGS = 0x02
         REFCOUNTED
       MG_OBJ = 0x1e30098
       SV = RV(0x1e300a8) at 0x1e30098
         REFCNT = 1
         FLAGS = (ROK)
         RV = 0x1e4cea8
         SV = PVMG(0x2549328) at 0x1e4cea8
           REFCNT = 1
           FLAGS = (OBJECT,IOK,OVERLOAD,pIOK)
           IV = 31745584
           NV = 0
           PV = 0
           STASH = 0x233ea80	"Math::GSL::Matrix::gsl_matrix"
     STASH = 0x233ea80	"Math::GSL::Matrix::gsl_matrix"
     ARRAY = 0x0
     KEYS = 0
     FILL = 0
     MAX = 7
     RITER = -1
     EITER = 0x0


-- 
---
==========================================================================
  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: [email protected]
==========================================================================
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.