diff options
| author | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
|---|---|---|
| committer | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
| commit | 7dfcc480ba1e19bd3232349fc733caef94034292 (patch) | |
| tree | 03ee104eb8846d5cc1a981d267687a729185d3f3 /PyGan/src/pylcm.h | |
Initial commit from Polytechnique Montreal
Diffstat (limited to 'PyGan/src/pylcm.h')
| -rw-r--r-- | PyGan/src/pylcm.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PyGan/src/pylcm.h b/PyGan/src/pylcm.h new file mode 100644 index 0000000..784b5cf --- /dev/null +++ b/PyGan/src/pylcm.h @@ -0,0 +1,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; |
