ghostty_key_encoder_free function

  1. @Native<Void Function(GhosttyKeyEncoder)>(GhosttyKeyEncoder)>()
void ghostty_key_encoder_free(
  1. GhosttyKeyEncoder encoder
)

Free a key encoder instance.

Releases all resources associated with the key encoder. After this call, the encoder handle becomes invalid and must not be used.

@param encoder The encoder handle to free (may be NULL)

@ingroup key

Implementation

@ffi.Native<ffi.Void Function(GhosttyKeyEncoder)>()
external void ghostty_key_encoder_free(GhosttyKeyEncoder encoder);