waysome/waysome — pull request #88 by matthiasbeyer (2014-10-01 17:31:58+00:00)
Title: Move: ws_array_init() to init callback

The ws_object type allows init callbacks, so the init function for the
object type should be used here.

One addition is added as well: The init callback does a type check
internally and returns false if the type is not an array.