File: filesystem.py

package info (click to toggle)
pysdl2 0.9.7%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,824 kB
  • sloc: python: 17,244; makefile: 195; sh: 32
file content (7 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
from ctypes import c_char, c_char_p, POINTER
from .dll import _bind

__all__ = ["SDL_GetBasePath", "SDL_GetPrefPath"]

SDL_GetBasePath = _bind("SDL_GetBasePath", None, c_char_p)
SDL_GetPrefPath = _bind("SDL_GetPrefPath", [c_char_p, c_char_p], c_char_p)