mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-09 11:48:03 +02:00
Use relative imports within the package. Only import exactly whats needed in order not to accidentally export internal symbols. Explicitly state whats part of the module when doing a wildcard import. Signed-off-by: Robert Knutsson <zybreak@gmail.com>
83 lines
1.3 KiB
Python
83 lines
1.3 KiB
Python
from .xtypes import (Type,
|
|
PrimitiveType,
|
|
SimpleType,
|
|
FileDescriptor,
|
|
Enum,
|
|
ListType,
|
|
ExprType,
|
|
PadType,
|
|
ComplexType,
|
|
SwitchType,
|
|
Struct,
|
|
Union,
|
|
CaseOrBitcaseType,
|
|
BitcaseType,
|
|
CaseType,
|
|
Reply,
|
|
Request,
|
|
EventStructAllowedRule,
|
|
EventStruct,
|
|
Event,
|
|
Error,
|
|
Doc,
|
|
tcard8,
|
|
tcard16,
|
|
tcard32,
|
|
tcard64,
|
|
tint8,
|
|
tint16,
|
|
tint32,
|
|
tint64,
|
|
tchar,
|
|
tfloat,
|
|
tdouble,
|
|
tbyte,
|
|
tbool,
|
|
tvoid)
|
|
from .state import Namespace, Module
|
|
from .expr import Field, Expression
|
|
from .error import ResolveException
|
|
|
|
__all__ = [
|
|
"Type",
|
|
"PrimitiveType",
|
|
"SimpleType",
|
|
"FileDescriptor",
|
|
"Enum",
|
|
"ListType",
|
|
"ExprType",
|
|
"PadType",
|
|
"ComplexType",
|
|
"SwitchType",
|
|
"Struct",
|
|
"Union",
|
|
"CaseOrBitcaseType",
|
|
"BitcaseType",
|
|
"CaseType",
|
|
"Reply",
|
|
"Request",
|
|
"EventStructAllowedRule",
|
|
"EventStruct",
|
|
"Event",
|
|
"Error",
|
|
"Doc",
|
|
"tcard8",
|
|
"tcard16",
|
|
"tcard32",
|
|
"tcard64",
|
|
"tint8",
|
|
"tint16",
|
|
"tint32",
|
|
"tint64",
|
|
"tchar",
|
|
"tfloat",
|
|
"tdouble",
|
|
"tbyte",
|
|
"tbool",
|
|
"tvoid",
|
|
"Namespace",
|
|
"Module",
|
|
"Field",
|
|
"Expression",
|
|
"ResolveException"
|
|
]
|