#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#ifdef PERLIO_LAYERS
#include "perliol.h"
typedef struct {
} PerlIOScalar;
PerlIO_funcs * tab)
{
/* If called (normally) via open() then arg is ref to scalar we are
* using, otherwise arg (from binmode presumably) is either NULL
* or the _name_ of the scalar
*/
if (arg) {
(void)SvPV_nolen(s->var);
}
else {
s->var =
}
}
else {
}
else
s->posn = 0;
return code;
}
{
if (s->var) {
SvREFCNT_dec(s->var);
}
return 0;
}
{
return code;
}
{
return -1;
}
{
switch (whence) {
case 0:
break;
case 1:
break;
case 2:
break;
}
}
return 0;
}
{
return s->posn;
}
{
return count;
}
{
char *dst;
}
else {
else
}
return count;
}
else
return 0;
}
{
return -1;
}
{
return 0;
}
STDCHAR *
{
}
}
STDCHAR *
{
}
}
{
else
return 0;
}
return 0;
}
{
}
return 0;
}
void
{
}
PerlIO *
{
if (!f) {
f = PerlIO_allocate(aTHX);
}
}
return f;
}
return NULL;
}
SV *
{
if (flags & PERLIO_DUP_CLONE)
else if (flags & PERLIO_DUP_FD) {
/* Equivalent (guesses NI-S) of dup() is to create a new scalar */
}
else {
}
return newRV_noinc(var);
}
PerlIO *
int flags)
{
/* var has been set by implicit push */
}
return f;
}
sizeof(PerlIO_funcs),
"scalar",
sizeof(PerlIOScalar),
};
#endif /* Layers available */
BOOT:
{
#ifdef PERLIO_LAYERS
#endif
}