addMethodVariadic
fun addMethodVariadic(name: String, callback: <Error class: unknown class>, returnType: <Error class: unknown class>)
Add method with @name to @jsc_class. When the method is called by JavaScript or jsc_value_object_invoke_method(),
Parameters
name
the method name
callback
a #GCallback to be called to invoke method @name of @jsc_class
returnType
the #GType of the method return value, or %G_TYPE_NONE if the method is void.