func FindSequenceOnDiskPad(pattern *C.char, padStyle C.int) (FileSeqId, Error) {
	str := C.GoString(pattern)
	// Caller is responsible for freeing error string
	if str == "" {
		return 0, C.CString("empty pattern")
	}

	fs, err := fileseq.FindSequenceOnDiskPad(str, fileseq.PadStyle(padStyle))
	if err != nil {
		return 0, C.CString(err.Error())
	}

	// No Match
	if fs == nil {
		return 0, nil
	}

	id := sFileSeqs.Add(fs)
	return id, nil
}
func FindSequenceOnDiskPad(pattern *C.char, padStyle C.int) (FileSeqId, Error) {
	str := C.GoString(pattern)
	
	if str == "" {
		return 0, C.CString("empty pattern")
	}

	fs, err := fileseq.FindSequenceOnDiskPad(str, fileseq.PadStyle(padStyle))
	if err != nil {
		return 0, C.CString(err.Error())
	}

	
	if fs == nil {
		return 0, nil
	}

	id := sFileSeqs.Add(fs)
	return id, nil
}
func FindSequenceOnDiskPad ( pattern * C . char , padStyle C . int ) ( FileSeqId , Error ) { str := C . GoString ( pattern ) // Caller is responsible for freeing error string if str == " " { return 0 , C . CString ( " " ) } fs , err := fileseq . FindSequenceOnDiskPad ( str , fileseq . PadStyle ( padStyle ) ) if err != nil { return 0 , C . CString ( err . Error ( ) ) } // No Match if fs == nil { return 0 , nil } id := sFileSeqs . Add ( fs ) return id , nil }
//export FindSequenceOnDiskPad
export FindSequenceOnDiskPad