Revert "SWIG experiments: introduce context"
This reverts commit aa8bf8e0f4.
This commit is contained in:
1 parent
1562b75fc9
commit
78c4f7929a
11 files changed
+87
-434
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user