[PPL-devel] ppl/interfaces ppl_interface_generator_common. ...
Patricia Hill
hill at cs.unipr.it
Tue Jun 27 09:57:42 CEST 2006
CVSROOT: /cvs/ppl
Module name: ppl
Branch: interfaces
Changes by: hill at cs.unipr.it 2006-06-27 09:57:42
Modified files:
interfaces : ppl_interface_generator_common.m4
ppl_interface_generator_common_dat.m4
interfaces/Prolog: ppl_interface_generator_prolog_icc.m4
Log message:
Added and redone existing code so that any class of kind
BD_Shape is a friend of any other class of kind BD_Shape
and also a friend of Polyhedron class.
Note that if a class is defined as a "friend" then the
schema name ppl_new_ at TOPOLOGY@@CLASS at _from_@INTOPOLOGY@@FRIEND@
is instantiated to have this class and friend.
The Prolog C++ (ppl_prolog.icc) code needs the procedure
converting terms to class handles to come before use.
With this friend code, all these procedures must be defined
before any other generated code.
Therefore a new macro m4_pre_all_classes_code is called before
generating the main classes code.
This has a default expansion of the empty string.
Patches:
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/interfaces/ppl_interface_generator_common.m4.diff?cvsroot=ppl&only_with_tag=interfaces&r1=1.1.2.40&r2=1.1.2.41
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/interfaces/ppl_interface_generator_common_dat.m4.diff?cvsroot=ppl&only_with_tag=interfaces&r1=1.1.2.19&r2=1.1.2.20
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/interfaces/Prolog/ppl_interface_generator_prolog_icc.m4.diff?cvsroot=ppl&only_with_tag=interfaces&r1=1.1.2.18&r2=1.1.2.19
More information about the PPL-devel
mailing list