safon007 / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

LuaAPI - "Array.Empty" function confusion #126

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Nothing important at all but since this could be interpreted wrongly... I just 
realized that the function "Array.Empty" in the latest LuaAPI CHM was returning 
a boolean. 

There's no verb to describe it like other boolean returning values (eg.: 
UserDefs.hasProperty and Sensor.isLevel).

I suggest to change it to "Array.isEmpty" instead.

Original issue reported on code.google.com by Silverk...@gmail.com on 7 Jan 2011 at 8:36

GoogleCodeExporter commented 8 years ago
Thanks for feedback, Siverkorn.

Lua Array class is wapper utArray that follow STL naming convention.
It is same as other container class likes utFixedString, utList, utHashTable 
etc.

Original comment by harkon...@gmail.com on 10 Jan 2011 at 10:26

GoogleCodeExporter commented 8 years ago
Alright! You may close this ticket then.
Sorry for disturbing and thanks for the reply!

Original comment by Silverk...@gmail.com on 12 Jan 2011 at 1:48

GoogleCodeExporter commented 8 years ago

Original comment by harkon...@gmail.com on 14 Jan 2011 at 3:31