Skip to content

Commit

Permalink
Merge pull request #330 from luvit/add_unref_ref_to_handle
Browse files Browse the repository at this point in the history
references: add ref/unref functions to Handles
  • Loading branch information
creationix committed Aug 21, 2012
2 parents 7e3678a + 828d677 commit 45c1bea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/luvit/uv.lua
Expand Up @@ -56,6 +56,9 @@ you want, not this.
-- Handle:setHandler(name, callback)
Handle.setHandler = native.setHandler

Handle.unref = native.unref
Handle.ref = native.ref

--------------------------------------------------------------------------------

--[[
Expand Down

0 comments on commit 45c1bea

Please sign in to comment.