types.lisp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. (in-package :mach)
  2. ;;
  3. ;; In this file we put foreign types that are so
  4. ;; simple that they don't desert a single file.
  5. ;;
  6. (defctype task port "task_t type")
  7. (defctype ipc-space task "ipc_space_t type")
  8. (defctype port-pointer :pointer "A pointer to a mach_port_t")
  9. (defctype port-mscount :unsigned-int "mach_port_msgcount_t type")
  10. (defctype port-seqno :unsigned-int "mach_port_seqno_t type")
  11. (defctype msg-seqno :unsigned-int "mach_msg_seqno_t type")
  12. (defctype port-delta :int "mach_port_delta_t type")
  13. (defctype msg-type-number :unsigned-int "mach_msg_type_number_t type")
  14. (defctype vm-size :unsigned-int "vm_size_t type")
  15. (defctype vm-offset :unsigned-int "vm_offset_t type")
  16. (defctype vm-address :unsigned-int "vm_address_t type")
  17. (defctype msg-size :unsigned-int "mach_msg_size_t type")
  18. (defctype msg-timeout :unsigned-int "mach_msg_timeout_t type")
  19. (defctype vm-task port "vm_task_t type")
  20. (defctype port-urefs :unsigned-int "mach_port_urefs_t type")
  21. (defctype port-msgcount :unsigned-int "mach_port_msgcount_t type")
  22. (defctype port-rights :unsigned-int "mach_port_rights_t type")
  23. (defctype msg-bits :unsigned-int "mach_msg_bits_t type")
  24. (defctype msg-id :int "mach_msg_id_t type")