GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ios/NativeScript/NapiRuntime.mm at main · NativeScript/ios Expand file tree/ Copy pathNapiRuntime.mmMore file actions 25 lines (19 loc) · 590 Bytes / Copy pathNapiRuntime.mmFile metadata and controls25 lines (19 loc) · 590 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 // // NapiRuntime.mm // NativeScript // // Copyright © 2026 Progress. All rights reserved. // #import "NapiRuntime.h" #include "runtime/Runtime.h" extern "C" napi_env NativeScriptNapiEnv(void) { // The thread-local can go stale when a Runtime is destroyed on a different // thread than the one that created it, so the env is resolved through the // registry without dereferencing the pointer outside its lock. return tns::Runtime::GetNapiEnvIfAlive(tns::Runtime::GetCurrentRuntime()); } @implementation NapiRuntime + (napi_env)env { return NativeScriptNapiEnv(); } @end |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |