[PPL-devel] [GIT] ppl/ppl(master): Use a C++ object to encode a Partial_Function in the Java interface.

Enea Zaffanella zaffanella at cs.unipr.it
Thu Apr 22 14:47:39 CEST 2010


Module: ppl/ppl
Branch: master
Commit: c976419bcc8f082a6a0e4fd543ecc09994e03e7e
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=c976419bcc8f082a6a0e4fd543ecc09994e03e7e

Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date:   Thu Apr 22 14:42:20 2010 +0200

Use a C++ object to encode a Partial_Function in the Java interface.
Current implementation is based on a copy of the Partial_Function type
used in C++ tests: we should consider whether or not it would be appropriate
to have this Partial_Function type as a first class PPL object.

---

 ...ppl_interface_generator_java_classes_cc_code.m4 |    5 +-
 interfaces/Java/jni/ppl_java_common.defs.hh        |   31 ------
 interfaces/Java/jni/ppl_java_common.inlines.hh     |   99 +++++++++++++-------
 interfaces/Java/jni/ppl_java_globals.cc            |   82 ++++++++++++++++-
 .../Java/parma_polyhedra_library/Makefile.am       |    8 +-
 .../parma_polyhedra_library/Partial_Function.java  |   42 ++++++--
 interfaces/Java/tests/C_Polyhedron_test1.java      |    2 +-
 interfaces/Java/tests/Makefile.am                  |    2 -
 interfaces/Java/tests/Test_Partial_Function.java   |   60 ------------
 interfaces/Java/tests/ppl_java_tests_common        |    4 +-
 10 files changed, 186 insertions(+), 149 deletions(-)

Diff:   http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=c976419bcc8f082a6a0e4fd543ecc09994e03e7e



More information about the PPL-devel mailing list