Skip to content

Add ctypes #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Aug 15, 2016
Merged

Add ctypes #454

merged 17 commits into from
Aug 15, 2016

Conversation

tharvik
Copy link
Contributor

@tharvik tharvik commented Aug 8, 2016

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
Member

@tharvik Not quite, see #475.

@gvanrossum
Copy link
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