summaryrefslogtreecommitdiff
path: root/spectro/inst.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
commitc6739b6427261ac2682a9fca3b23c98df0dc9f60 (patch)
treea90193f98739ad96e6ae676409022bd15a648aae /spectro/inst.h
parentc6267b450e6858fdff4360104b362d9da2e1806d (diff)
New upstream release
Diffstat (limited to 'spectro/inst.h')
-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
--- 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 */ \