From: Rafael L. <lab...@ps...> - 2003-02-05 20:19:23
|
* Maurice LeBrun <mj...@ga...> [2003-02-05 14:05]: > Rafael Laboissiere writes: > > * Maurice LeBrun <mj...@ga...> [2003-02-05 12:25]: > > > > > If you are introducing variables into the global name space (i.e. > > > accessible via "extern"), at least give them a plplot-specific introducer > > > like "pl_" or even better "pldev_". > > > > Point taken. > > > > The functions exported by the the drivers have the "plD_" prefix. Would > > that be appropriate? Should I use something like: plD_DESCRIPTION_<dev> > > with the variable name in upper case to emphasize the fact that they are > > exported variables? > > Sure. I just committed the change for the extern DEVICE_INFO_<driver> variables. They are called now plD_DEVICE_INFO_<driver>. -- Rafael |