scopedAllocPtr

abstract fun scopedAllocPtr(howMany: Int, safePtrSize: Boolean): JsAny(source)

Works just like allocPtr() but stores the result of the allocation in the current scope.