func LoadImage(filename string) *iup.Handle { cname := iup.NewCS(filename) defer iup.FreeCS(cname) return iup.NewHandle(C.IupLoadImage((*C.char)(cname))) }
func (h *IupPPlot) InsertStr(index, sample_index int, x string, y float32) { cx := iup.NewCS(x) iup.FreeCS(cx) C.IupPPlotInsertStr(toNative(h), C.int(index), C.int(sample_index), (*C.char)(cx), C.float(y)) }
func OleControl(progid string) *iup.Handle { id := iup.NewCS(progid) defer iup.FreeCS(id) return iup.NewHandle(C.IupOleControl((*C.char)(id))) }
func (h *IupPPlot) AddStr(x string, y float32) { cx := iup.NewCS(x) iup.FreeCS(cx) C.IupPPlotAddStr(toNative(h), (*C.char)(cx), C.float(y)) }