-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpgproto.pyx
49 lines (37 loc) · 1.22 KB
/
pgproto.pyx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
cimport cython
cimport cpython
from . cimport cpythonx
from libc.stdint cimport int8_t, uint8_t, int16_t, uint16_t, \
int32_t, uint32_t, int64_t, uint64_t, \
INT16_MIN, INT16_MAX, INT32_MIN, INT32_MAX, \
UINT32_MAX, INT64_MIN, INT64_MAX, UINT64_MAX
from . cimport hton
from . cimport tohex
from .debug cimport PG_DEBUG
from . import types as pgproto_types
include "./consts.pxi"
include "./frb.pyx"
include "./buffer.pyx"
include "./uuid.pyx"
include "./codecs/context.pyx"
include "./codecs/bytea.pyx"
include "./codecs/text.pyx"
include "./codecs/datetime.pyx"
include "./codecs/float.pyx"
include "./codecs/int.pyx"
include "./codecs/json.pyx"
include "./codecs/jsonpath.pyx"
include "./codecs/uuid.pyx"
include "./codecs/numeric.pyx"
include "./codecs/bits.pyx"
include "./codecs/geometry.pyx"
include "./codecs/hstore.pyx"
include "./codecs/misc.pyx"
include "./codecs/network.pyx"
include "./codecs/tid.pyx"
include "./codecs/pg_snapshot.pyx"