Basic constructor macro for vl-scopecontext-package structures.
(make-vl-scopecontext-package [:pkg <pkg>])
This is the usual way to construct vl-scopecontext-package structures. It simply conses together a structure with the specified fields.
This macro generates a new vl-scopecontext-package structure from scratch. See also change-vl-scopecontext-package, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-vl-scopecontext-package (&rest args) (std::make-aggregate 'vl-scopecontext-package args '((:pkg)) 'make-vl-scopecontext-package nil))
Function:
(defun vl-scopecontext-package (pkg) (declare (xargs :guard (vl-package-p pkg))) (declare (xargs :guard t)) (let ((__function__ 'vl-scopecontext-package)) (declare (ignorable __function__)) (b* ((pkg (mbe :logic (vl-package-fix pkg) :exec pkg))) (cons :package pkg))))