-
* build libffi from https://github.com/hoodmane/libffi-emscripten
* ``cp /opt/libffi-emscripten/lib/libffi.a /emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/pic/``
* ``cp /opt/libffi-…
tiran updated
2 years ago
-
This is in reference to #133
I am opening a new issue for this as the previous one is quite old.
It seems that support for ctypes structs and structs in general was dropped in recent revisions.
Is…
-
output (case from [test](https://github.com/trolldbois/ctypeslib/blob/0df7325e8591bdc54be85c33bcead125d30d08f4/test/test_record.py#L245))
```
class struct_s(Structure):
pass
class union_unio…
-
In Heptapod by bitbucket_importer on Aug 3, 2012, 08:10
*Created originally on Bitbucket by Anonymous*
**From (bugs.pypy.org) by: Yaakov Selkowitz**
-
This program fails:
```
from dlinfo import DLInfo
import ctypes
lib = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
dlinfo = DLInfo(lib)
print(dlinfo.path)
```
```
Traceback (mos…
-
I've run into a strange bug (that may be related to #13) sometimes reproducible by the following test case:
```python
import ravel
import asyncio
async def main():
async def func():
…
-
Cython is a largish, dev-time dependency in many cases. It would be an added convenience to commit the C sources to Git repo, also pushing them to PyPI.
-
### What's the problem this feature will solve?
Current version of setuptools requires ctypes to run on windows.
### Describe the solution you'd like
The hard dependency of ctypes came from p…
-
```
import ctypes
# import pyautogui
dpix = ctypes.c_uint()
dpiy = ctypes.c_uint()
ctypes.windll.shcore.SetProcessDpiAwareness(2)
ctypes.windll.shcore.GetDpiForMonitor(1186359,0,ctypes.byref(dpi…
-
python ui.py
当前工作目录 ui.py
无法获取缩放比例,设置为1,错误: module 'ctypes' has no attribute 'windll'