File: filesystem.py

package info (click to toggle)
pysdl2 0.9.9%2Bdfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,276 kB
  • sloc: python: 18,592; makefile: 148; sh: 40
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)