| Subject: | Re: XS |
|---|---|
| From: | rob.dixon@xxxxxxx (Rob Dixon) |
| Date: | Wed, 30 Jul 2008 23:51:20 +0100 |
| Newsgroups: | perl.beginners |
Patrick Dupre wrote: > > Inside a c routine (ie. inside a .c file) is there any way to define a > variable of type SV (or SV *) ? > From xs, it is no problem. Yes. You can say SV *var = &PL_sv_undef; which creates an undefined scalar. But what do you want to do with it? Rob |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XS, Ivan Gromov |
|---|---|
| Next by Date: | Re: XS, Patrick Dupre |
| Previous by Thread: | XS, Patrick Dupre |
| Next by Thread: | Re: XS, Patrick Dupre |
| Indexes: | [Date] [Thread] [Top] [All Lists] |