class_peek


Description:

public unowned TypeClass? class_peek ()

This function is essentially the same as class_ref, except that the classes reference count isn't incremented.

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