allocatePointer abstract method

Pointer<C> allocatePointer(
  1. RaylibTemp temp,
  2. String key, [
  3. int count = 1
])

Allocates a native slot of count elements in temp under key and returns the resulting pointer.

Implementations should simply delegate to the appropriate temp.<Type>(key, count) call. The returned memory is zeroed (or reused) but not yet populated, call allocateInto or writeInto to fill it.

Implementation

Pointer<C> allocatePointer(RaylibTemp temp, String key, [int count = 1]);