Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Merge requests
  • !106

Use distutils.ccompiler to test for functions and structure members

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mike Boers requested to merge build-reflect into master Jul 13, 2015
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 1

This removes the use of ctypes to discover what functions are available. Instead, it uses the same C compiler that Python would end up using to compile the modules in order to build and link tiny test executables and discover if those functions exist.

This also allows for detecting members of structures, so we can safely implement deprecated members.

This breaks our Window's build (temporarily, and only because I can't maintain it).

Any thoughts?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: build-reflect