;;; Some utilities
;;; =============
-(define (hive-create-actor-gimmie . args)
+(define (hive-create-actor-gimmie hive actor-class . init)
"Create an actor on the hive, and give us that actor.
Uses hive-create-actor* arguments."
- (let ((actor-id (apply hive-create-actor args)))
+ (let ((actor-id (apply hive-create-actor hive actor-class init)))
(hive-resolve-local-actor hive actor-id)))
-(define (hive-create-actor-gimmie* . args)
+(define (hive-create-actor-gimmie* hive actor-class id-cookie init)
"Create an actor on the hive, and give us that actor.
Uses hive-create-actor* arguments."
- (let ((actor-id (apply hive-create-actor* args)))
+ (let ((actor-id (apply hive-create-actor*
+ hive actor-class id-cookie init)))
(hive-resolve-local-actor hive actor-id)))