gprolog.h and const correctness
Roberto Bagnara <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.general |
|---|---|
| Organization | Department of Mathematics, University of Parma, Italy |
| Message-ID | <[email protected]> |
To the next maintainer of GNU Prolog:
please consider revising gprolog.h so as to facilitate
users who insist in writing const-correct code.
For instance, the declaration
int FC Create_Allocate_Atom(char *name);
should probably be changed so as to read
int FC Create_Allocate_Atom(const char *name);
Thanks in advance (I hope not too much advance :-)
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:[email protected]