mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Patch type mismatch in apat C library
This commit is contained in:
4
pkg/obiapat/pattern.go
Normal file → Executable file
4
pkg/obiapat/pattern.go
Normal file → Executable file
@ -26,7 +26,7 @@ var _AllocatedApaPattern = 0
|
||||
// ApatPattern stores a regular pattern usable by the
|
||||
// Apat algorithm functions and methods
|
||||
type _ApatPattern struct {
|
||||
pointer *C.Pattern
|
||||
pointer C.PatternPtr
|
||||
pattern string
|
||||
}
|
||||
|
||||
@ -159,7 +159,7 @@ func (pattern ApatPattern) Free() {
|
||||
// Print method prints the ApatPattern to the standard output.
|
||||
// This is mainly a debug method.
|
||||
func (pattern ApatPattern) Print() {
|
||||
C.PrintDebugPattern(C.PatternPtr(pattern.pointer.pointer))
|
||||
C.PrintDebugPattern((*C.Pattern)(pattern.pointer.pointer))
|
||||
}
|
||||
|
||||
// MakeApatSequence casts an obiseq.BioSequence to an ApatSequence.
|
||||
|
Reference in New Issue
Block a user