func FrameSet_Frames(id FrameSetId, out *C.int) C.int {
	fs, ok := sFrameSets.Get(id)
	if !ok {
		return C.int(0)
	}

	goframes := fs.Frames()
	size := len(goframes)

	if size == 0 {
		return C.int(0)
	}

	intSize := int(unsafe.Sizeof(C.int(0)))
	startPtr := uintptr(unsafe.Pointer(out))
	for i, frame := range goframes {
		ptr := unsafe.Pointer(startPtr + uintptr(intSize*i))
		*(*C.int)(ptr) = C.int(int32(frame))
	}

	return C.int(size)
}
func FrameSet_Frames(id FrameSetId, out *C.int) C.int {
	fs, ok := sFrameSets.Get(id)
	if !ok {
		return C.int(0)
	}

	goframes := fs.Frames()
	size := len(goframes)

	if size == 0 {
		return C.int(0)
	}

	intSize := int(unsafe.Sizeof(C.int(0)))
	startPtr := uintptr(unsafe.Pointer(out))
	for i, frame := range goframes {
		ptr := unsafe.Pointer(startPtr + uintptr(intSize*i))
		*(*C.int)(ptr) = C.int(int32(frame))
	}

	return C.int(size)
}
func FrameSet_Frames ( id FrameSetId , out * C . int ) C . int { fs , ok := sFrameSets . Get ( id ) if ! ok { return C . int ( 0 ) } goframes := fs . Frames ( ) size := len ( goframes ) if size == 0 { return C . int ( 0 ) } intSize := int ( unsafe . Sizeof ( C . int ( 0 ) ) ) startPtr := uintptr ( unsafe . Pointer ( out ) ) for i , frame := range goframes { ptr := unsafe . Pointer ( startPtr + uintptr ( intSize * i ) ) * ( * C . int ) ( ptr ) = C . int ( int32 ( frame ) ) } return C . int ( size ) }
//export FrameSet_Frames
export FrameSet_Frames