get-symbol-from-current-process-h

C function to get a symbol from the current process

MIT 3 个版本
安装
npm install get-symbol-from-current-process-h
yarn add get-symbol-from-current-process-h
pnpm add get-symbol-from-current-process-h
bun add get-symbol-from-current-process-h
README

get-symbol-from-current-process-h

C function to get a symbol from the current process

Greenkeeper badge

NPM Version NPM Downloads Build Status Coverage Status Dependency Status

The information presented below is specific to usage for building with npm and gyp.

Installation

Install with npm:

$ npm install get-symbol-from-current-process-h

Usage

In your binding.gyp:

    'include_dirs': ["<!@(node -p \"require('get-symbol-from-current-process-h').include\")"],

(Just have "<!@(node -p \"require('get-symbol-from-current-process-h').include\")" somewhere in that list, ok?)

In your C code:

#include <get-symbol-from-current-process.h>

void* sym = get_symbol_from_current_process("foobar");
版本列表
1.0.2 2020-01-24
1.0.1 2017-11-24
1.0.0 2017-11-24