retain method

void retain()

Retains a global JavaScript execution context. @result (JSGlobalContext) A JSGlobalContext that is the same as ctx.

Implementation

void retain() {
  _pointer = JSContextRef.jSGlobalContextRetain(pointer);
}