create_player function

  1. @Native<PlayerHandle Function(Pointer<Char>, Int, Int, Double)>(ffi.Pointer<ffi.Char>, ffi.Int, ffi.Int, ffi.Double)>()
PlayerHandle create_player(
  1. Pointer<Char> name,
  2. int rating,
  3. int id,
  4. double points,
)

Player related functions

Implementation

@ffi.Native<
  PlayerHandle Function(ffi.Pointer<ffi.Char>, ffi.Int, ffi.Int, ffi.Double)
>()
external PlayerHandle create_player(
  ffi.Pointer<ffi.Char> name,
  int rating,
  int id,
  double points,
);