Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
%rename apply of any type and include Makefile in gitignore
  • Loading branch information
Soeren Sonnenburg committed May 23, 2012
1 parent 3f61978 commit e59e42f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 28 deletions.
11 changes: 1 addition & 10 deletions .gitignore
Expand Up @@ -34,16 +34,7 @@ configure.log
/src/shogun/lib/config.h
/src/shogun/base/class_list.cpp
/src/shogun/Makefile
/src/cmdline/Makefile
/src/elwms/Makefile
/src/shogun/Makefile
/src/interfaces/matlab/Makefile
/src/interfaces/octave/Makefile
/src/interfaces/octave_modular/Makefile
/src/interfaces/python/Makefile
/src/interfaces/python_modular/Makefile
/src/interfaces/r/Makefile
/src/interfaces/r_modular/Makefile
/src/interfaces/*/Makefile
/src/examples
/src/shogun/.clang_complete

Expand Down
36 changes: 18 additions & 18 deletions src/interfaces/modular/Machine.i
@@ -1,24 +1,24 @@
/*%warnfilter(302) apply;
%warnfilter(302) apply_generic;*/
#if defined(SWIGPYTHON) || defined(SWIGOCTAVE) || defined(SWIGRUBY) || defined(SWIGLUA) || defined(SWIGR)
%rename(apply_generic) shogun::CMachine::apply(CFeatures*);
%rename(apply_generic) shogun::CMulticlassMachine::apply(CFeatures*);
%rename(apply_generic) shogun::CKernelMulticlassMachine::apply(CFeatures*);
%rename(apply_generic) shogun::CLinearMulticlassMachine::apply(CFeatures*);
%rename(apply_generic) shogun::CCDistanceMachineMachine::apply(CFeatures*);
%rename(apply_generic) shogun::CLinearMachine::apply(CFeatures*);
%rename(apply_generic) shogun::CKernelMachine::apply(CFeatures*);
%rename(apply_generic) shogun::CWDSVMOcas::apply(CFeatures*);
%rename(apply_generic) shogun::CPluginEstimate::apply(CFeatures*);
%rename(apply_generic) shogun::CKernelRidgeRegression::apply(CFeatures*);
%rename(apply_generic) shogun::CSVRLight::apply(CFeatures*);
%rename(apply_generic) shogun::CMKLRegression::apply(CFeatures*);
%rename(apply_generic) shogun::CKernelRidgeRegression::apply(CFeatures*);
%rename(apply_generic) shogun::CLinearRidgeRegression::apply(CFeatures*);
%rename(apply_generic) shogun::CLeastSquaresRegression::apply(CFeatures*);
%rename(apply_generic) shogun::CLeastAngleRegression::apply(CFeatures*);
%rename(apply_generic) shogun::CGaussianProcessRegression::apply(CFeatures*);
%rename(apply_generic) shogun::CConjugateIndex::apply(CFeatures*);
%rename(apply_generic) shogun::CMachine::apply();
%rename(apply_generic) shogun::CMulticlassMachine::apply();
%rename(apply_generic) shogun::CKernelMulticlassMachine::apply();
%rename(apply_generic) shogun::CLinearMulticlassMachine::apply();
%rename(apply_generic) shogun::CCDistanceMachineMachine::apply();
%rename(apply_generic) shogun::CLinearMachine::apply();
%rename(apply_generic) shogun::CKernelMachine::apply();
%rename(apply_generic) shogun::CWDSVMOcas::apply();
%rename(apply_generic) shogun::CPluginEstimate::apply();
%rename(apply_generic) shogun::CKernelRidgeRegression::apply();
%rename(apply_generic) shogun::CSVRLight::apply();
%rename(apply_generic) shogun::CMKLRegression::apply();
%rename(apply_generic) shogun::CKernelRidgeRegression::apply();
%rename(apply_generic) shogun::CLinearRidgeRegression::apply();
%rename(apply_generic) shogun::CLeastSquaresRegression::apply();
%rename(apply_generic) shogun::CLeastAngleRegression::apply();
%rename(apply_generic) shogun::CGaussianProcessRegression::apply();
%rename(apply_generic) shogun::CConjugateIndex::apply();

%define APPLY_MULTICLASS(CLASS)
%extend CLASS
Expand Down

0 comments on commit e59e42f

Please sign in to comment.