Python ctypes.c_longdouble() Examples
The following are 1
code examples of ctypes.c_longdouble().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
ctypes
, or try the search function
.
Example #1
Source File: testsuite.py From ctypesgen with BSD 2-Clause "Simplified" License | 5 votes |
def test_longdouble_type(self): """Test is long double is correctly parsed""" module = self.module struct_foo = module.struct_foo self.assertEqual( struct_foo._fields_, [("is_bar", ctypes.c_longdouble), ("a", ctypes.c_int)] )