(ctx *Context, builderID C.int32_t)
| 15 | var moduleBuilderIDForceParseFailure atomic.Bool |
| 16 | |
| 17 | func cleanupModuleBuilderHandle(ctx *Context, builderID C.int32_t) { |
| 18 | if ctx == nil || ctx.handleStore == nil { |
| 19 | return |
| 20 | } |
| 21 | ctx.handleStore.Delete(int32(builderID)) |
| 22 | } |
| 23 | |
| 24 | // getContextAndModuleBuilder retrieves context and ModuleBuilder from module private value. |
| 25 | func getContextAndModuleBuilder(ctx *C.JSContext, m *C.JSModuleDef) (*Context, *ModuleBuilder, C.int32_t, error) { |
no test coverage detected