| 3100 | //=== Export ================================================================== |
| 3101 | |
| 3102 | inline |
| 3103 | void |
| 3104 | Export(ADDON_REGISTER_FUNCTION_ARGS_TYPE target, const char *name, |
| 3105 | FunctionCallback f) { |
| 3106 | HandleScope scope; |
| 3107 | |
| 3108 | Set(target, New<v8::String>(name).ToLocalChecked(), |
| 3109 | GetFunction(New<v8::FunctionTemplate>(f)).ToLocalChecked()); |
| 3110 | } |
| 3111 | |
| 3112 | //=== Tap Reverse Binding ===================================================== |
| 3113 |
nothing calls this directly
no test coverage detected