Exemplo n.º 1
0
// Warn takes a string and causes a warning in libsass
func Warn(s string) UnionSassValue {
	return C.sass_make_warning(C.CString(s))
}
Exemplo n.º 2
0
// MakeWarning creates Sass warning from a string
func MakeWarning(s string) UnionSassValue {
	cs := C.CString(s)
	defer C.free(unsafe.Pointer(cs))
	return C.sass_make_warning(cs)
}