brett@spinifex.eecs.unsw.oz (Brett Sealey) (08/16/89)
I'm using the Domain 2D Graphics Metafile Resource package, and have noticed that some of the function prototypes in the file gmr.h seem to be inconsistent with the types of parameters actually being past. In particular, functions which use 'array-type' parameters are the ones which seem to be causing problems. I am using 2D-GMR version 2.1 under both C and C++. Examples: ~~~~~~~~~ From base.h:- typedef char name_$pname_t[name_$pnamlen_max]; From gmr.h:- extern void gm_$file_create( name_$pname_t &name, ... extern void gm_$segment_inq_current( name_$pname_t *name, ... It's the `*' and `&' symbols which seem to me to be unnecessary and which are causing me problems. Any comments are welcome, as it is I have already hacked a copy of gmr.h myself as a short term fix. Thanks, Brett Sealey. (brett@spinifex.eecs.unsw.oz)