RaylibTempAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, P, S> constructor

RaylibTempAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, P, S>(
  1. TempType temp,
  2. String name, {
  3. required int byteSize,
  4. required S allocatorFunc([
    1. int count
    ]),
  5. required void freeFunc(
    1. S ptr
    ),
  6. required P pointerFactory(
    1. S ptr
    ),
  7. required S pointerToSource(
    1. P ptr
    ),
  8. required P nullptrFactory(),
  9. required String printerFunc(
    1. P ptr
    ),
  10. required bool isPointerNull(
    1. P ptr
    ),
})

Implementation

RaylibTempAllocatorBase(this.temp, this.name, {
  required this.byteSize,
  required this.allocatorFunc,
  required this.freeFunc,
  required this.pointerFactory,
  required this.pointerToSource,
  required this.nullptrFactory,
  required this.printerFunc,
  required this.isPointerNull,
});