Changeset 3863 for src/perl5

Show
Ignore:
Timestamp:
05/25/05 05:35:18 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
5385
Message:

* string and integer parameter passing.

Location:
src/perl5
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • src/perl5/perl5.c

    r3860 r3863  
    127127 
    128128SV * 
     129perl5_newSVpv ( char * pv ) 
     130{ 
     131    return(newSVpv(pv, 0)); 
     132} 
     133 
     134SV * 
     135perl5_newSViv ( int iv ) 
     136{ 
     137    return(newSViv(iv)); 
     138} 
     139 
     140SV * 
    129141perl5_call(char *subname, int argc, SV** args) 
    130142{ 
  • src/perl5/perl5.h

    r3858 r3863  
    55PerlInterpreter * perl5_init ( int argc, char **argv ); 
    66char * perl5_SvPV ( SV * sv ); 
     7SV * perl5_newSVpv ( char * pv ); 
     8SV * perl5_newSViv ( int iv ); 
    79SV * perl5_call(char *subname, int argc, SV** args); 
     10