summaryrefslogtreecommitdiffhomepage
path: root/mixlib/xmix_vm.h
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-05-03 23:48:06 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-05-03 23:48:06 +0000
commit6c118b8f8965a5fbb602ad556b584f6f8c0c26c0 (patch)
tree925941099ee1d4be16a50a240397e639061ff878 /mixlib/xmix_vm.h
parent49083add823f626a3f0d3b121491e0e66aacbe7c (diff)
downloadmdk-6c118b8f8965a5fbb602ad556b584f6f8c0c26c0.tar.gz
mdk-6c118b8f8965a5fbb602ad556b584f6f8c0c26c0.tar.bz2
new devices are created by a (possibly externally provided) factory
Diffstat (limited to 'mixlib/xmix_vm.h')
-rw-r--r--mixlib/xmix_vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mixlib/xmix_vm.h b/mixlib/xmix_vm.h
index 7255d02..d5cbff4 100644
--- a/mixlib/xmix_vm.h
+++ b/mixlib/xmix_vm.h
@@ -49,6 +49,7 @@ struct mix_vm_t
mix_vm_clock_t *clock; /* the vm clock */
mix_symbol_table_t *symbol_table;
mix_src_file_t *src_file; /* source of last loaded code file */
+ mix_device_factory_t factory; /* the factory for new devices */
};
/* Macros for accessing/modifying the above structure.