summaryrefslogtreecommitdiff
path: root/libmachdev/mig-mutate.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmachdev/mig-mutate.h')
-rw-r--r--libmachdev/mig-mutate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libmachdev/mig-mutate.h b/libmachdev/mig-mutate.h
index f692236e..56c6965a 100644
--- a/libmachdev/mig-mutate.h
+++ b/libmachdev/mig-mutate.h
@@ -23,3 +23,10 @@
end_using_port_info (port_info_t)
#define NOTIFY_IMPORTS \
import "libports/mig-decls.h";
+
+#define DEVICE_INTRAN \
+ mach_device_t begin_using_device_port (mach_port_t)
+#define DEVICE_DESTRUCTOR \
+ end_using_device (mach_device_t)
+#define DEVICE_IMPORTS \
+ import "libmachdev/mig-decls.h";