[449] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: Narrow vs. Wide function prototypes

jtkohl@ATHENA.MIT.EDU (jtkohl@ATHENA.MIT.EDU)
Mon Nov 19 09:59:41 1990

They are the same API, since the programmer is passing in a narrow type
in both instances.  That's the whole point of not putting the promoted
type names in the prototypes, since that can/will confuse programmers.

>Can you give me a reason why some systems will *need* to use narrow
>argument passing?

Not offhand.  However, we shouldn't preclude such systems or folks who
really want to use narrow types in the prototypes.

So the question remains, is there any elegant solution to making the
prototypes use the typedef'ed names and still be switch-selectable
between the narrow and wide version?

home help back first fref pref prev next nref lref last post