Prism 6.0 User's Guide

Casts

Prism recognizes casting a class pointer to the class of a base type only for single inheritance relationships. For example, Prism recognizes the following cast syntax when printing variable P:

(prism) print (struct class_name *) P
(prism) print (class class_name *) P	
(prism) print (class_name *) P