Changeset 3924 for src/perl5

Show
Ignore:
Timestamp:
05/26/05 23:54:07 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
5515
Message:

* iv/nv/pv two-way casting all done.

Location:
src/perl5
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • src/perl5/perl5.c

    r3919 r3924  
    160160 
    161161SV * 
     162perl5_newSVnv ( double iv ) 
     163{ 
     164    return(newSVnv(iv)); 
     165} 
     166 
     167SV * 
    162168perl5_call(char *subname, int argc, SV** args, int cxt) 
    163169{ 
  • src/perl5/perl5.h

    r3919 r3924  
    1010SV * perl5_newSVpv ( char * pv ); 
    1111SV * perl5_newSViv ( int iv ); 
     12SV * perl5_newSVnv ( double iv ); 
    1213SV * perl5_call(char *subname, int argc, SV** args, int cxt); 
    1314bool perl5_can(SV *inv, char *subname); 
  • src/perl5/pugsembed.c

    r3921 r3924  
    2020 
    2121Val *pugs_Eval ( char *code ) { return NULL; } 
    22  
    2322Val *pugs_Apply ( Val *sub, Val *inv, Val **args ) { return NULL; } 
    24  
    25 SV  *pugs_ValToSv ( Val *val ) { return NULL; } 
  • src/perl5/pugsembed.h

    r3921 r3924  
    1616extern Val *pugs_PvToVal ( char *pv ); 
    1717 
    18 PUGS_EXTERN SV  *pugs_ValToSv ( Val *val ); 
    19  
    2018Val *pugs_SvToVal ( SV *sv ); 
    2119SV  *pugs_MkValRef ( Val *val ); 
    2220 
    2321extern Val *pugs_MkSvRef  ( SV *sv ); 
     22extern SV  *pugs_ValToSv ( Val *val ); 
     23