[Compbench-devel] CompBenchmarks++/CBM-PI CBM.pm, 1.9, 1.10 CBM_wrap.cxx, 1.9, 1.10
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-01-21 21:28:11
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2662 Modified Files: CBM.pm CBM_wrap.cxx Log Message: API changes on CBM::Benchmark Index: CBM.pm =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/CBM.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** CBM.pm 21 Jan 2007 21:17:03 -0000 1.9 --- CBM.pm 21 Jan 2007 21:28:07 -0000 1.10 *************** *** 226,231 **** *Package = *CBMc::Benchmark_Package; *display = *CBMc::Benchmark_display; ! *benchmarkName = *CBMc::Benchmark_benchmarkName; ! *benchmarkComments = *CBMc::Benchmark_benchmarkComments; *Bench = *CBMc::Benchmark_Bench; sub DESTROY { --- 226,231 ---- *Package = *CBMc::Benchmark_Package; *display = *CBMc::Benchmark_display; ! *Name = *CBMc::Benchmark_Name; ! *Comments = *CBMc::Benchmark_Comments; *Bench = *CBMc::Benchmark_Bench; sub DESTROY { Index: CBM_wrap.cxx =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/CBM_wrap.cxx,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** CBM_wrap.cxx 21 Jan 2007 21:17:03 -0000 1.9 --- CBM_wrap.cxx 21 Jan 2007 21:28:07 -0000 1.10 *************** *** 5574,5578 **** ! XS(_wrap_Benchmark_benchmarkName) { { CBM::Benchmark *arg1 = (CBM::Benchmark *) 0 ; --- 5574,5578 ---- ! XS(_wrap_Benchmark_Name) { { CBM::Benchmark *arg1 = (CBM::Benchmark *) 0 ; *************** *** 5584,5595 **** if ((items < 1) || (items > 1)) { ! SWIG_croak("Usage: Benchmark_benchmarkName(self);"); } res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CBM__Benchmark, 0 | 0 ); if (!SWIG_IsOK(res1)) { ! SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Benchmark_benchmarkName" "', argument " "1"" of type '" "CBM::Benchmark *""'"); } arg1 = reinterpret_cast<CBM::Benchmark * >(argp1); ! result = (arg1)->benchmarkName(); ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast<std::string >(result)); argvi++ ; --- 5584,5595 ---- if ((items < 1) || (items > 1)) { ! SWIG_croak("Usage: Benchmark_Name(self);"); } res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CBM__Benchmark, 0 | 0 ); if (!SWIG_IsOK(res1)) { ! SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Benchmark_Name" "', argument " "1"" of type '" "CBM::Benchmark *""'"); } arg1 = reinterpret_cast<CBM::Benchmark * >(argp1); ! result = (arg1)->Name(); ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast<std::string >(result)); argvi++ ; *************** *** 5603,5607 **** ! XS(_wrap_Benchmark_benchmarkComments) { { CBM::Benchmark *arg1 = (CBM::Benchmark *) 0 ; --- 5603,5607 ---- ! XS(_wrap_Benchmark_Comments) { { CBM::Benchmark *arg1 = (CBM::Benchmark *) 0 ; *************** *** 5613,5624 **** if ((items < 1) || (items > 1)) { ! SWIG_croak("Usage: Benchmark_benchmarkComments(self);"); } res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CBM__Benchmark, 0 | 0 ); if (!SWIG_IsOK(res1)) { ! SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Benchmark_benchmarkComments" "', argument " "1"" of type '" "CBM::Benchmark *""'"); } arg1 = reinterpret_cast<CBM::Benchmark * >(argp1); ! result = (arg1)->benchmarkComments(); ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast<std::string >(result)); argvi++ ; --- 5613,5624 ---- if ((items < 1) || (items > 1)) { ! SWIG_croak("Usage: Benchmark_Comments(self);"); } res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CBM__Benchmark, 0 | 0 ); if (!SWIG_IsOK(res1)) { ! SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Benchmark_Comments" "', argument " "1"" of type '" "CBM::Benchmark *""'"); } arg1 = reinterpret_cast<CBM::Benchmark * >(argp1); ! result = (arg1)->Comments(); ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast<std::string >(result)); argvi++ ; *************** *** 7766,7771 **** {"CBMc::Benchmark_Package", _wrap_Benchmark_Package}, {"CBMc::Benchmark_display", _wrap_Benchmark_display}, ! {"CBMc::Benchmark_benchmarkName", _wrap_Benchmark_benchmarkName}, ! {"CBMc::Benchmark_benchmarkComments", _wrap_Benchmark_benchmarkComments}, {"CBMc::Benchmark_Bench", _wrap_Benchmark_Bench}, {"CBMc::delete_Benchmark", _wrap_delete_Benchmark}, --- 7766,7771 ---- {"CBMc::Benchmark_Package", _wrap_Benchmark_Package}, {"CBMc::Benchmark_display", _wrap_Benchmark_display}, ! {"CBMc::Benchmark_Name", _wrap_Benchmark_Name}, ! {"CBMc::Benchmark_Comments", _wrap_Benchmark_Comments}, {"CBMc::Benchmark_Bench", _wrap_Benchmark_Bench}, {"CBMc::delete_Benchmark", _wrap_delete_Benchmark}, |