module Bindings.GLib.DataTypes.Datasets where
import Foreign.Ptr (Ptr,FunPtr,plusPtr)
import Foreign.Ptr (wordPtrToPtr,castPtrToFunPtr)
import Foreign.Storable
import Foreign.C.Types
import Foreign.C.String (CString,CStringLen,CWString,CWStringLen)
import Foreign.Marshal.Array (peekArray,pokeArray)
import Data.Int
import Data.Word
import Bindings.GLib.Fundamentals.BasicTypes
import Bindings.GLib.DataTypes.Quarks
foreign import ccall "inline_g_dataset_id_set_data" c'g_dataset_id_set_data
:: C'gconstpointer -> C'GQuark -> C'gpointer -> IO ()
foreign import ccall "g_dataset_id_set_data_full" c'g_dataset_id_set_data_full
:: C'gconstpointer -> C'GQuark -> C'gpointer -> C'GDestroyNotify -> IO ()
foreign import ccall "&g_dataset_id_set_data_full" p'g_dataset_id_set_data_full
:: FunPtr (C'gconstpointer -> C'GQuark -> C'gpointer -> C'GDestroyNotify -> IO ())
type C'GDestroyNotify = FunPtr (C'gpointer -> IO ())
foreign import ccall "wrapper" mk'GDestroyNotify
:: (C'gpointer -> IO ()) -> IO C'GDestroyNotify
foreign import ccall "g_dataset_id_get_data" c'g_dataset_id_get_data
:: C'gconstpointer -> C'GQuark -> IO C'gpointer
foreign import ccall "&g_dataset_id_get_data" p'g_dataset_id_get_data
:: FunPtr (C'gconstpointer -> C'GQuark -> IO C'gpointer)
foreign import ccall "g_dataset_id_remove_data" c'g_dataset_id_remove_data
:: C'gconstpointer -> C'GQuark -> IO C'gpointer
foreign import ccall "&g_dataset_id_remove_data" p'g_dataset_id_remove_data
:: FunPtr (C'gconstpointer -> C'GQuark -> IO C'gpointer)
foreign import ccall "g_dataset_id_remove_no_notify" c'g_dataset_id_remove_no_notify
:: C'gconstpointer -> C'GQuark -> IO C'gpointer
foreign import ccall "&g_dataset_id_remove_no_notify" p'g_dataset_id_remove_no_notify
:: FunPtr (C'gconstpointer -> C'GQuark -> IO C'gpointer)
foreign import ccall "inline_g_dataset_set_data" c'g_dataset_set_data
:: C'gconstpointer -> Ptr C'gchar -> C'gpointer -> IO ()
foreign import ccall "inline_g_dataset_set_data_full" c'g_dataset_set_data_full
:: C'gconstpointer -> Ptr C'gchar -> C'gpointer -> C'GDestroyNotify -> IO ()
foreign import ccall "inline_g_dataset_get_data" c'g_dataset_get_data
:: C'gconstpointer -> Ptr C'gchar -> IO C'gpointer
foreign import ccall "inline_g_dataset_remove_data" c'g_dataset_remove_data
:: C'gconstpointer -> Ptr C'gchar -> IO C'gpointer
foreign import ccall "inline_g_dataset_remove_no_notify" c'g_dataset_remove_no_notify
:: C'gconstpointer -> Ptr C'gchar -> IO C'gpointer
foreign import ccall "g_dataset_foreach" c'g_dataset_foreach
:: C'gconstpointer -> C'GDataForeachFunc -> C'gpointer -> IO ()
foreign import ccall "&g_dataset_foreach" p'g_dataset_foreach
:: FunPtr (C'gconstpointer -> C'GDataForeachFunc -> C'gpointer -> IO ())
type C'GDataForeachFunc = FunPtr (C'GQuark -> C'gpointer -> C'gpointer -> IO ())
foreign import ccall "wrapper" mk'GDataForeachFunc
:: (C'GQuark -> C'gpointer -> C'gpointer -> IO ()) -> IO C'GDataForeachFunc
foreign import ccall "g_dataset_destroy" c'g_dataset_destroy
:: C'gconstpointer -> IO ()
foreign import ccall "&g_dataset_destroy" p'g_dataset_destroy
:: FunPtr (C'gconstpointer -> IO ())