[PPL-devel] gprolog.h and const correctness

Roberto Bagnara bagnara at cs.unipr.it
Sat Jan 14 18:37:20 CET 2006


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:bagnara at cs.unipr.it



More information about the PPL-devel mailing list