Add method expand-to-foreign-dyn-indirect for type foreign-type-alias so that foreign-string-type will be expanded correctly (as a pointer).
(value var body (type translatable-foreign-type))
(foreign-expand-runtime-translator-or-binding value var body type))
+(defmethod expand-to-foreign-dyn-indirect (value var body (type foreign-type-alias))
+ (expand-to-foreign-dyn-indirect value var body (actual-type type)))
+
;;; User interface for converting values from/to foreign using the
;;; type translators. The compiler macros use the expanders when
;;; possible.