{-# LINE 2 "./Graphics/UI/Gtk/SourceView/SourceMark.chs" #-}-- -*-haskell-*--- GIMP Toolkit (GTK) SourceMark---- Author : Duncan Coutts-- derived from GtkTextView bindings by Axel Simon---- Created: 26 October 2003---- Copyright (C) 2003-2005 Duncan Coutts, Axel Simon---- This library is free software; you can redistribute it and/or-- modify it under the terms of the GNU Lesser General Public-- License as published by the Free Software Foundation; either-- version 2.1 of the License, or (at your option) any later version.---- This library 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-- Lesser General Public License for more details.---- |-- Maintainer : gtk2hs-users@lists.sourceforge.net-- Stability : provisional-- Portability : portable (depends on GHC)--moduleGraphics.UI.Gtk.SourceView.SourceMark(SourceMark,castToSourceMark,sourceMarkGetCategory,sourceMarkNext,sourceMarkPrev)whereimportControl.Monad(liftM)importSystem.Glib.FFIimportSystem.Glib.UTFStringimportSystem.Glib.GObject(makeNewGObject)importGraphics.UI.Gtk.SourceView.Types{-# LINE 41 "./Graphics/UI/Gtk/SourceView/SourceMark.chs" #-}{-# LINE 43 "./Graphics/UI/Gtk/SourceView/SourceMark.chs" #-}-- methods-- |--sourceMarkGetCategory::SourceMark->IOStringsourceMarkGetCategorymark=dostrPtr<-(\(SourceMarkarg1)->withForeignPtrarg1$\argPtr1->gtk_source_mark_get_categoryargPtr1)markmarkType<-peekUTFStringstrPtrg_free(castPtrstrPtr)returnmarkType-- |--sourceMarkNext::SourceMark->String->IOSourceMarksourceMarkNextmarkcategory=makeNewGObjectmkSourceMark$withUTFStringcategory$(\(SourceMarkarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_source_mark_nextargPtr1arg2)mark-- |--sourceMarkPrev::SourceMark->String->IOSourceMarksourceMarkPrevmarkcategory=makeNewGObjectmkSourceMark$withUTFStringcategory$(\(SourceMarkarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_source_mark_prevargPtr1arg2)markforeignimportccallunsafe"gtk_source_mark_get_category"gtk_source_mark_get_category::((PtrSourceMark)->(IO(PtrCChar)))foreignimportccallunsafe"g_free"g_free::((Ptr())->(IO()))foreignimportccallunsafe"gtk_source_mark_next"gtk_source_mark_next::((PtrSourceMark)->((PtrCChar)->(IO(PtrSourceMark))))foreignimportccallunsafe"gtk_source_mark_prev"gtk_source_mark_prev::((PtrSourceMark)->((PtrCChar)->(IO(PtrSourceMark))))