ass_free_event method

void ass_free_event(
  1. Pointer<ASS_Track> track,
  2. int eid
)

\brief Delete an event. \param track track \param eid event id Deallocates event data. Does not modify track->n_events. Freeing an event without subsequently setting track->n_events to a value less than or equal to the freed event id before calling any other libass API function on the track is undefined behaviour. See GENERAL NOTE in ass_types.h

Implementation

void ass_free_event(
  ffi.Pointer<ASS_Track> track,
  int eid,
) {
  return _ass_free_event(
    track,
    eid,
  );
}