Skip to content

Commit 47b8be7

Browse files
committed
[EN-1454] EventData.pxd small cleanup
1 parent d02c45c commit 47b8be7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dxfeed/core/pxd_include/EventData.pxd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
# something about license
2-
31
#ifndef EVENT_DATA_H_INCLUDED
42
#define EVENT_DATA_H_INCLUDED
53

6-
#pxd_include "RecordData.h"
74
from dxfeed.core.pxd_include cimport RecordData as rd
85
from dxfeed.core.pxd_include cimport DXTypes as dxt
96
#ifndef OUT
@@ -60,13 +57,14 @@ cdef extern from "EventData.h":
6057
# // The length of record suffix including including the terminating null character
6158
#define DXF_RECORD_SUFFIX_SIZE 5
6259
DEF DXF_RECORD_SUFFIX_SIZE = 5
60+
cdef extern from "EventData.h":
61+
cdef int DXF_RECORD_SUFFIX_SIZE = DXF_RECORD_SUFFIX_SIZE
6362
# /* -------------------------------------------------------------------------- */
6463
# /*
6564
# * Source suffix array
6665
# */
6766
# /* -------------------------------------------------------------------------- */
6867
cdef extern from "EventData.h":
69-
cdef int DXF_RECORD_SUFFIX_SIZE = DXF_RECORD_SUFFIX_SIZE
7068
struct dx_suffix_t:
7169
dxt.dxf_char_t suffix[DXF_RECORD_SUFFIX_SIZE]
7270

0 commit comments

Comments
 (0)