Author: kkaempf Date: Wed Oct 31 21:29:43 2007 New Revision: 7730 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7730&view=rev Log: Fix Swig warning: Creating wrapper code for ruby .../backup/projects/sat-solver/bindings/ruby/../satsolver.i:33: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. Modified: trunk/sat-solver/bindings/satsolver.i Modified: trunk/sat-solver/bindings/satsolver.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/satsolver.i?rev=7730&r1=7729&r2=7730&view=diff ============================================================================== --- trunk/sat-solver/bindings/satsolver.i (original) +++ trunk/sat-solver/bindings/satsolver.i Wed Oct 31 21:29:43 2007 @@ -30,7 +30,8 @@ }*/ -%typemap(ruby,in) FILE * { +#ifdef SWIG<Ruby> +FILE * { OpenFile *fptr; Check_Type($input, T_FILE); @@ -38,6 +39,7 @@ /*rb_io_check_writable(fptr);*/ $1 = GetReadFile(fptr); } +#endif %include "bitmap.h" %include "evr.h" -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org