X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=util.pxd;fp=util.pxd;h=fbdab01c4cb7e2a7a2ff2120cb9d11502be0a81e;hp=0000000000000000000000000000000000000000;hb=df4a5bcd4de039784ad2abbd8c82d1b934bc0203;hpb=a9c739f31cfa8cbb2a91e79f829a71f09406d73b diff --git a/util.pxd b/util.pxd new file mode 100644 index 0000000..fbdab01 --- /dev/null +++ b/util.pxd @@ -0,0 +1,26 @@ +# +# Copyright (c) 2008 INdT - Instituto Nokia de Tecnologia +# +# This file is part of python-purple. +# +# python-purple is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# python-purple is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +cimport purple + +def markup_strip_html(message): + if message is None: + return None + else: + return util.c_purple_markup_strip_html(message)