Skip to content

Add ctypes - #454

Merged
matthiaskramm merged 17 commits into
python:masterfrom
tharvik:add_ctypes
Aug 15, 2016
Merged

matthiaskramm merged 17 commits into
python:masterfrom
tharvik:add_ctypes

Conversation

@tharvik

@tharvik tharvik commented Aug 8, 2016

Copy link
Copy Markdown
Contributor

https://docs.python.org/3/library/ctypes.html

It was kinda hard to do, but that should do it.

  • _DLL is a local class to allow having a common subtype
  • _FuncProto is a fake class to avoid having a too big Union
  • I was unable to find a way to typecheck c_int * 3 which should gives an Array

@matthiaskramm
matthiaskramm merged commit 17f7d3d into python:master Aug 15, 2016
@gvanrossum

Copy link
Copy Markdown
Member

@tharvik Not quite, see #475.

@gvanrossum

Copy link
Copy Markdown
Member

I've temporarily deleted these stubs, see #475 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants