get-uv-event-loop-napi-h
C function to get the current libuv event loop for N-API
Last updated 6 years ago by addaleax .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install get-uv-event-loop-napi-h 
SYNC missed versions from official npm registry.

get-uv-event-loop-napi-h

C function to get the current libuv event loop for N-API

Greenkeeper badge

NPM Version NPM Downloads Build Status Coverage Status Dependency Status

Installation

Install with npm:

$ npm install get-uv-event-loop-napi-h

Usage

In your binding.gyp:

    'include_dirs': ["<!@(node -p \"require('get-uv-event-loop-napi-h').include\")"],

(Just have "<!@(node -p \"require('get-uv-event-loop-napi-h').include\")" somewhere in that list, ok?)

In your C code:

#include <get-uv-event-loop-napi.h>

uv_loop_t* loop = get_uv_event_loop(env);

Current Tags

  • 1.0.6                                ...           latest (6 years ago)

6 Versions

  • 1.0.6                                ...           6 years ago
  • 1.0.5                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 5
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |