func FrameSet_Frame(id FrameSetId, index int) (C.int, Error) {
	fs, ok := sFrameSets.Get(id)
	if !ok {
		return 0, C.CString("FrameSet was deleted")
	}
	frame, err := fs.Frame(index)
	if err != nil {
		return 0, C.CString(err.Error())
	}

	// err string is freed by caller
	return C.int(frame), nil
}
func FrameSet_Frame(id FrameSetId, index int) (C.int, Error) {
	fs, ok := sFrameSets.Get(id)
	if !ok {
		return 0, C.CString("FrameSet was deleted")
	}
	frame, err := fs.Frame(index)
	if err != nil {
		return 0, C.CString(err.Error())
	}

	
	return C.int(frame), nil
}
func FrameSet_Frame ( id FrameSetId , index int ) ( C . int , Error ) { fs , ok := sFrameSets . Get ( id ) if ! ok { return 0 , C . CString ( " " ) } frame , err := fs . Frame ( index ) if err != nil { return 0 , C . CString ( err . Error ( ) ) } // err string is freed by caller return C . int ( frame ) , nil }
//export FrameSet_Frame
export FrameSet_Frame