/[Search-TokyoDystopia]/TokyoDystopia.xs
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /TokyoDystopia.xs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25 by dpavlin, Mon Aug 18 19:01:00 2008 UTC revision 27 by dpavlin, Mon Aug 18 19:07:04 2008 UTC
# Line 247  CODE: Line 247  CODE:
247  OUTPUT:  OUTPUT:
248          RETVAL          RETVAL
249    
250    
251    void
252    tcidbpath(idb)
253            void *  idb
254    PREINIT:
255            const char *path;
256    PPCODE:
257            path = tcidbpath(idb);
258            if(path){
259              XPUSHs(sv_2mortal(newSVpv(path, 0)));
260            } else {
261              XPUSHs((SV *)&PL_sv_undef);
262            }
263            XSRETURN(1);
264    
265    
266    double
267    tcidbrnum(idb)
268            void *  idb
269    CODE:
270            RETVAL = tcidbrnum(idb);
271    OUTPUT:
272            RETVAL
273    

Legend:
Removed from v.25  
changed lines
  Added in v.27

  ViewVC Help
Powered by ViewVC 1.1.26