c-type-name? ( object -- ? )


Vocabulary
alien.c-types

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the c-type-name class.

Definition
USING: kernel ;

IN: alien.c-types

: c-type-name? ( object -- ? )
dup pointer? [ drop t ] [ c-type-word? ] if ;