@@ -71,8 +71,6 @@ instance MessagePack LogLevel
71
71
instance Arbitrary LogLevel where arbitrary = arbitraryBoundedEnum
72
72
type LogCb = ToxPtr -> CEnum LogLevel -> CString -> Word32 -> CString -> CString -> Ptr () -> IO ()
73
73
foreign import ccall " wrapper" wrapLogCb :: LogCb -> IO (FunPtr LogCb )
74
- data SystemStruct
75
- type SystemPtr = Ptr SystemStruct
76
74
data OptionsStruct
77
75
type OptionsPtr = Ptr OptionsStruct
78
76
foreign import ccall tox_options_get_ipv6_enabled :: OptionsPtr -> IO Bool
@@ -109,8 +107,6 @@ foreign import ccall tox_options_get_log_user_data :: OptionsPtr -> IO (Ptr ())
109
107
foreign import ccall tox_options_set_log_user_data :: OptionsPtr -> Ptr () -> IO ()
110
108
foreign import ccall tox_options_get_experimental_thread_safety :: OptionsPtr -> IO Bool
111
109
foreign import ccall tox_options_set_experimental_thread_safety :: OptionsPtr -> Bool -> IO ()
112
- foreign import ccall tox_options_get_operating_system :: OptionsPtr -> IO SystemPtr
113
- foreign import ccall tox_options_set_operating_system :: OptionsPtr -> SystemPtr -> IO ()
114
110
foreign import ccall tox_options_default :: OptionsPtr -> IO ()
115
111
data ErrOptionsNew
116
112
= ErrOptionsNewMalloc
@@ -134,7 +130,6 @@ instance MessagePack ErrNew
134
130
instance Arbitrary ErrNew where arbitrary = arbitraryBoundedEnum
135
131
foreign import ccall tox_new :: OptionsPtr -> CErr ErrNew -> IO ToxPtr
136
132
foreign import ccall tox_kill :: ToxPtr -> IO ()
137
- foreign import ccall tox_get_system :: ToxPtr -> IO SystemPtr
138
133
foreign import ccall tox_get_savedata_size :: ToxPtr -> IO CSize
139
134
foreign import ccall tox_get_savedata :: ToxPtr -> CString -> IO ()
140
135
data ErrBootstrap
0 commit comments