#NEWLINE# def cast( self , cdecl , source ) : #NEWLINE# #INDENT# "Similar to a C cast: returns an instance of the named C\n        type initialized with the given 'source'.  The source is\n        casted between integers or pointers of any type.\n        " #NEWLINE# if isinstance ( source , basestring ) : #NEWLINE# #INDENT# cdecl = self . _typeof ( cdecl ) #NEWLINE# #UNINDENT# return self . _backend . cast ( cdecl , source )