users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gprolog.h and const correctness


From: Roberto Bagnara
Subject: gprolog.h and const correctness
Date: Sat, 14 Jan 2006 18:37:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0


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:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]