File: winapi.py

package info (click to toggle)
python-ctypeslib 0.0.0%2Bsvn20100125-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 332 kB
  • ctags: 398
  • sloc: python: 2,845; makefile: 38
file content (7 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
import os
from ctypeslib.dynamic_module import include
from ctypes import *

_gen_basename = include("#include <windows.h>",
                        persist=False,
                        compilerflags=["-c", "-DWIN32_LEAN_AND_MEAN"])