(----sorry for the previous email) Hello again Dave,
I have a first version of the binding (constructors, arithmetic functions etc..) but I am trying to pass the mpz_class types as args to/return from functions >From the compilation errors I see calls to RTT and serializer,deserializer... but I am not sure how other types, like double or Int implement these (or what interfaces they implement) in order to be used as formal parameters. This came up as I was trying to make mpz_class implement the Reducible interface. Could you give a hint of the classes dependency tree to make it work as argument? Also, I am trying to implement a toString method. In basic_functions.h I see for example that complex.h file is imported and some functionality for complex is added. Will there be any effect if I just add some lines for mpz_class to this file (basic_functions.h) or do I have to rebuild? Also, is there any workaround to convert x10.lang.String to C++ string&(not char* ).? Regards, Konstantina 2014-04-01 10:39 GMT+01:00 Konstantina Panagiotopoulou <kwno...@hotmail.com> : > Hello again Dave, > > I have a first binding (constructors, arithmetic functions etc..) but I am > trying to pass the mpz_class types as args to/return from functions > > > 2014-03-24 18:35 GMT+00:00 David P Grove <gro...@us.ibm.com>: > >> Konstantina Panagiotopoulou <kwno...@hotmail.com> wrote on 03/24/2014 >> 12:13:46 PM: >> >> > >> > Hello Dave, >> > >> > I 'll go with the second option and write a user-level library. >> > It seems that x10.runtime/src-cpp/x10/lang/Complex.cc doesn't exist. >> > It seems that the file is not included in the distribution. >> > Could you please point another path? >> > >> >> We did some restructuring that I'd forgotten about, and there is no >> Complex.cc now. All of the native code is inline functions in >> src-cpp/x10/lang/Complex.h >> >> --dave >> >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> X10-users mailing list >> X10-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/x10-users >> >> >
------------------------------------------------------------------------------
_______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users