blob: 784b5cf724a0ec93ed07b14a6069bb85203cc0f9 (
plain)
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
|
/*--------------------------------*/
/* Python3-LCM bindings */
/* author: A. Hebert (03/07/2020) */
/*--------------------------------*/
/*
Copyright (C) 2020 Ecole Polytechnique de Montreal
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
*/
#include "lcm.h"
#include "cle2000.h"
typedef struct {
PyObject_HEAD
/* Type-specific fields go here. */
lifo *stack; /* internal structure */
int_32 impx_lifo; /* print flag */
} lifoobject;
typedef struct {
PyObject_HEAD
/* Type-specific fields go here. */
lcm *iplist; /* lcm/xsm/file object handle */
int_32 impx_lcm; /* print flag */
int_32 lrda_lcm; /* da size */
int_32 iact_lcm; /* access mode */
char type_lcm[13]; /* object type */
char name_lcm[73]; /* object name */
int isopen; /* lcmop is called */
} pylcmobject;
|