Changeset 21bab95 for perl/lib/BarnOwl


Ignore:
Timestamp:
Apr 3, 2011, 3:05:59 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
f2d71cfa
Parents:
0b20de4
git-author:
Nelson Elhage <nelhage@nelhage.com> (02/24/11 09:58:12)
git-committer:
Nelson Elhage <nelhage@mit.edu> (04/03/11 15:05:59)
Message:
Fix some bugs in asedeno's AnyEvent implementation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/AnyEvent.pm

    r0b20de4 r21bab95  
    1212                mode => $mode,
    1313                fd => $fd };
    14     bless($self, class);
     14    bless($self, $class);
    1515    $self->{dispatch} = BarnOwl::add_io_dispatch($fd, $mode, $cb);
    1616    return $self;
     
    2525sub timer {
    2626    my ($class, %arg) = @_;
    27     return BarnOwl::Timer->new(%args);
     27    return BarnOwl::Timer->new(\%arg);
    2828}
     29
     30sub DESTROY { }
    2931
    3032# sub idle {
Note: See TracChangeset for help on using the changeset viewer.