mirror of
https://github.com/vxcontrol/golua.git
synced 2026-06-30 22:17:55 -04:00
fix: unlock method signature to return error
This commit is contained in:
+2
-2
@@ -18,8 +18,8 @@ func (L *State) Lock() {
|
||||
L.r.Lock()
|
||||
}
|
||||
|
||||
func (L *State) Unlock() {
|
||||
L.r.Unlock()
|
||||
func (L *State) Unlock() error {
|
||||
return L.r.Unlock()
|
||||
}
|
||||
|
||||
func abs(v int) int {
|
||||
|
||||
Reference in New Issue
Block a user