Changeset ffc4df6 for perlglue.xs


Ignore:
Timestamp:
Oct 27, 2009, 12:41:17 AM (12 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
18fdd5f9
Parents:
df0138f
git-author:
Alejandro R. Sedeño <asedeno@mit.edu> (10/24/09 14:56:01)
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> (10/27/09 00:41:17)
Message:
Switch perl API to new I/O Dispatch API.

Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlglue.xs

    rbdbec0a rffc4df6  
    318318
    319319void
    320 add_dispatch(fd, cb)
     320remove_io_dispatch(fd)
    321321        int fd
    322         SV * cb
    323         CODE:
    324         owl_select_add_perl_dispatch(fd, SvREFCNT_inc(cb));
    325 
    326 void
    327 remove_dispatch(fd)
    328         int fd
    329         CODE:
    330         owl_select_remove_perl_dispatch(fd);
    331 
     322        CODE:
     323        owl_select_remove_perl_io_dispatch(fd);
    332324
    333325AV*
     
    509501                                      ival);
    510502
     503void
     504add_io_dispatch(fd, mode, cb)
     505        int fd
     506        int mode
     507        SV * cb
     508        CODE:
     509        owl_select_add_perl_io_dispatch(fd, mode, SvREFCNT_inc(cb));
     510
    511511IV
    512512add_timer(after, interval, cb)
Note: See TracChangeset for help on using the changeset viewer.