aboutsummaryrefslogtreecommitdiff
path: root/src/host.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/host.lisp')
-rw-r--r--src/host.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/host.lisp b/src/host.lisp
index 40cba1a..2ce52ed 100644
--- a/src/host.lisp
+++ b/src/host.lisp
@@ -33,6 +33,11 @@
:documentation "Property application specification of the properties to
be applied to the host.")))
+(defun make-host (&key hostattrs props)
+ (let ((host (make-instance 'host :attrs hostattrs :props props)))
+ (%eval-propspec-hostattrs host props)
+ host))
+
(defmethod print-object ((host host) stream)
(format stream "#.~S" `(make-instance
'host