ppl/interfaces ppl_interface_generator_common. ...

CVSROOT: /cvs/ppl Module name: ppl Branch: interfaces Changes by: hill@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_@TOPOLOGY@@CLASS@_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_gener... http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/interfaces/ppl_interface_gener... http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/interfaces/Prolog/ppl_interfac...
participants (1)
-
Patricia Hill