On Thu, Dec 10, 2009 at 18:12, Bruno Haible <br...@clisp.org> wrote: > Paolo Bonzini wrote: >> do you plan on adding 2-argument versions of the macro, such as >> _GL_ARG_NONNULL2? > > The macro already supports multiple parameter indices. Example: > > extern int scandir (const char *dir, struct dirent ***namelist, > int (*filter) (const struct dirent *), > int (*cmp) (const struct dirent **, const struct dirent > **)) > _GL_ARG_NONNULL ((1, 2, 4));
Good, then accept4 has to be fixed to use ((2, 3)). :-) >> With OpenGL identifiers starting with GL it's a tough call anyway, >> especially for preprocessor identifiers (for others OpenGL uses camel >> case). > > OpenGL macro names start with GL_. So if we choose the prefix _GL_ we're > not likely to collide. What about internal OpenGL macro names? I would not be surprised if they start with _GL_. Paolo