make vstyles.setAttr kstring overload public (#156)

This commit is contained in:
Timothee Cour 2020-10-01 00:28:42 -07:00 • committed by GitHub
commit d8fe79fa40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,7 +234,7 @@ proc eq*(a, b: VStyle): bool =
if a[i] != b[i]: return false
return true
proc setAttr(s: VStyle; a, value: kstring) {.noSideEffect.} =
proc setAttr*(s: VStyle; a, value: kstring) {.noSideEffect.} =
var i = 0
while i < s.len:
if s[i] == a: