Changeset 3852 for src/perl5

Show
Ignore:
Timestamp:
05/25/05 03:49:22 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
5385
Message:

* SV stringification!

Location:
src/perl5
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • src/perl5/perl5.c

    r3845 r3852  
    11#include <perl5.h> 
     2#include <XSUB.h> 
    23#include "perlxsi.c" 
    34 
     
    116117    */ 
    117118} 
     119 
     120char * 
     121perl5_SvPV ( SV *sv ) 
     122{ 
     123    char *rv; 
     124    rv = SvPV_nolen(sv); 
     125    return rv; 
     126} 
  • src/perl5/perl5.h

    r3845 r3852  
    44 
    55PerlInterpreter * perl5_init ( int argc, char **argv ); 
     6char * perl5_SvPV ( SV * sv );