summaryrefslogtreecommitdiff
path: root/spectro/inst.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 05:38:49 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 05:38:49 +0100
commit9491825ddff7a294d1f49061bae7044e426aeb2e (patch)
tree06e651099f87140ec534ae47fb8ce1ac6ec7976d /spectro/inst.h
parentfa756339d4204bff7f2820067f58214d32780d17 (diff)
Imported Upstream version 1.8.3
Diffstat (limited to 'spectro/inst.h')
-rwxr-xr-x[-rw-r--r--]spectro/inst.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spectro/inst.h b/spectro/inst.h
index d47f7ea..736a879 100644..100755
--- a/spectro/inst.h
+++ b/spectro/inst.h
@@ -643,6 +643,10 @@ typedef enum {
void (*eventcallback)(void *cntx, inst_event_type event); \
void *event_cntx; /* Event callback function */ \
\
+ /* Virtual delete. Cleans up things done by new_inst(). */ \
+ inst_code (*vdel)( \
+ struct _inst *p); \
+ \
/* Establish communications at the indicated baud rate. */ \
/* (Serial parameters are ignored for USB instrument) */ \
/* Timout in to seconds, and return non-zero error code */ \