Re: Accessing variables from inside a C-XS

[email protected] (Oliver Seeliger)
Newsgroups perl.xs
Message-ID <[email protected]>
 > Not necessarily. Let's assume I have code like this:
 > my $var = 'X';
 > myXSfunc();
 > In myXSfunc(), I want to access variable $var.

Ok, understood what you're thinking of.

 > The question is whether there is a
 > function like perl_get_sv(), but for lexical variables?

I don't know. Someone else?

Cheers,
Olli
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.