mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
Expose IsTest Method (#1)
This commit is contained in:
@ -136,6 +136,11 @@ func GetColor(language string) string {
|
||||
return enry.GetColor(language)
|
||||
}
|
||||
|
||||
//export IsTest
|
||||
func IsTest(path string) bool {
|
||||
return enry.IsTest(path)
|
||||
}
|
||||
|
||||
func strSliceCopy(result *[]*C.char, slice []string) {
|
||||
for _, str := range slice {
|
||||
*result = append(*result, C.CString(str))
|
||||
|
Reference in New Issue
Block a user