Added missing documentation to the source code in the Playdate bindings target.
This commit is contained in:
@@ -11,6 +11,8 @@ extension Lua {
|
||||
UDObject(pointer: luaAPI.pointee.retainObject.unsafelyUnwrapped(pointer).unsafelyUnwrapped)
|
||||
}
|
||||
|
||||
/// Balances a `retain()`, allowing the object to be
|
||||
/// garbage-collected again.
|
||||
public func release() {
|
||||
luaAPI.pointee.releaseObject.unsafelyUnwrapped(pointer)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user