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
commitfd742ee1c757c436a3c6018576251e74c096e7e0 (patch)
tree593a23d173f6bbeda23747d319c745c962a1a020 /mixlib/xmix_vm.h
parentcc232117b722d2e1c2f347183e00ff174e7e7eaa (diff)
downloadmdk-fd742ee1c757c436a3c6018576251e74c096e7e0.tar.gz
mdk-fd742ee1c757c436a3c6018576251e74c096e7e0.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.