class_peek


Description:

public unowned TypeClass? class_peek ()

Retrieves the class for a give type.

This function is essentially the same as class_get, except that the class may have not been instantiated yet.

As a consequence, this function may return null if the class of the type passed in does not currently exist ( hasn't been referenced before).

Parameters:

type

type ID of a classed type

Returns:

the TypeClass structure for the given type ID or null if the class does not currently exist