[zypp-commit] r7153 - /trunk/libzypp-bindings/swig/ByteCount.i
![](https://seccdn.libravatar.org/avatar/e7c205f48fdce0f43c5bc29fbac34d48.jpg?s=120&d=mm&r=g)
Author: haass Date: Fri Sep 7 16:45:11 2007 New Revision: 7153 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7153&view=rev Log: added perl-typemap for ByteCount Modified: trunk/libzypp-bindings/swig/ByteCount.i Modified: trunk/libzypp-bindings/swig/ByteCount.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/ByteCount.i?rev=7153&r1=7152&r2=7153&view=diff ============================================================================== --- trunk/libzypp-bindings/swig/ByteCount.i (original) +++ trunk/libzypp-bindings/swig/ByteCount.i Fri Sep 7 16:45:11 2007 @@ -13,3 +13,12 @@ #endif +#ifdef SWIGPERL5 + +%typemap(out) ByteCount { + $result = sv_newmortal(); + sv_setiv($result, (IV) (ByteCount::SizeType) $1 ); + argvi++; +} + +#endif -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
haass@svn.opensuse.org