Example #1
0
func NewOrder(b *Bocage) *Order {
	var _ret Order
	_ret.handle = C.marpa_o_new(b.handle)
	if _ret.handle == (C.Marpa_Order)(unsafe.Pointer(uintptr(0))) {
		panic("ERROR: marpa_o_new")
	}
	return &_ret
}
Example #2
0
func NewOrder(b *Bocage) *Order {
	var _ret Order
	_ret.handle = C.marpa_o_new(b.handle)
	return _ret

}