func (g *Grammar) RuleIsLoop(rule_id RuleID) int { return int(C.marpa_g_rule_is_loop(g.handle, C.Marpa_Rule_ID(rule_id))) }
func (g Grammar) RuleIsLoop(sym_id RuleID) int { return int(C.marpa_g_rule_is_loop(g.grammar, sym_id.id)) }