Revert "SWIG experiments: introduce context"

This reverts commit aa8bf8e0f4.
This commit is contained in:
Philippe Teuwen committed 2020-06-14 21:35:23 +02:00
1 parent 1562b75fc9
commit 78c4f7929a
11 files changed
+87 -434

No files matched your search

+4 -8
View File
@@ -15,13 +15,9 @@
/* Parse the header file to generate wrappers */
#endif
typedef struct pm3_context pm3_context;
pm3_context *pm3_init(void);
void pm3_exit(pm3_context *ctx);
pm3_context *pm3_get_current_context(void);
typedef struct pm3_device pm3_device;
pm3_device *pm3_open(pm3_context *ctx, char *port);
pm3_device *pm3_get_dev(pm3_context *ctx, int n);
int pm3_console(pm3_device *dev, char *cmd);
void pm3_close(pm3_device *dev);
pm3_device* pm3_open(char *port);
int pm3_console(pm3_device* dev, char *cmd);
void pm3_close(pm3_device* dev);
pm3_device* pm3_get_current_dev(void);
#endif