develooper Front page | perl.perl5.porters | Postings from August 2014

Can a union be used as a parameter type?

Thread Next
From:
Father Chrysostomos
Date:
August 23, 2014 17:11
Subject:
Can a union be used as a parameter type?
Message ID:
20140823171149.22902.qmail@lists-nntp.develooper.com
Is this type of thing possible in C?

int
foom(pTHX_ YYSTYPE squoggle)
{

}

(YYSTYPE is typedeffed in perly.h: typedef union YYSTYPE {...}.)


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About