func (g *Grammar) Event(event *Event, ix int) EventType { var evt C.Marpa_Event ev_type := EventType(C.marpa_g_event(g.handle, &evt, C.int(ix))) event.handle = evt return ev_type }
func (g *Grammar) Event(event **Event, ix int) EventType { return EventType(C.marpa_g_event(g.handle, event.handle, C.int(ix))) }