Skip to content

Commit 32e94b1

Browse files
committed
cleanup: Remove Tox_System stuff for now.
1 parent b4a3f2a commit 32e94b1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: src/FFI/Tox/Tox.hs

-5
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ instance MessagePack LogLevel
7171
instance Arbitrary LogLevel where arbitrary = arbitraryBoundedEnum
7272
type LogCb = ToxPtr -> CEnum LogLevel -> CString -> Word32 -> CString -> CString -> Ptr () -> IO ()
7373
foreign import ccall "wrapper" wrapLogCb :: LogCb -> IO (FunPtr LogCb)
74-
data SystemStruct
75-
type SystemPtr = Ptr SystemStruct
7674
data OptionsStruct
7775
type OptionsPtr = Ptr OptionsStruct
7876
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 ())
109107
foreign import ccall tox_options_set_log_user_data :: OptionsPtr -> Ptr () -> IO ()
110108
foreign import ccall tox_options_get_experimental_thread_safety :: OptionsPtr -> IO Bool
111109
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 ()
114110
foreign import ccall tox_options_default :: OptionsPtr -> IO ()
115111
data ErrOptionsNew
116112
= ErrOptionsNewMalloc
@@ -134,7 +130,6 @@ instance MessagePack ErrNew
134130
instance Arbitrary ErrNew where arbitrary = arbitraryBoundedEnum
135131
foreign import ccall tox_new :: OptionsPtr -> CErr ErrNew -> IO ToxPtr
136132
foreign import ccall tox_kill :: ToxPtr -> IO ()
137-
foreign import ccall tox_get_system :: ToxPtr -> IO SystemPtr
138133
foreign import ccall tox_get_savedata_size :: ToxPtr -> IO CSize
139134
foreign import ccall tox_get_savedata :: ToxPtr -> CString -> IO ()
140135
data ErrBootstrap

0 commit comments

Comments
 (0)