• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
          • Syntax-for-tools
          • Atc
          • Language
            • Abstract-syntax
            • Integer-ranges
            • Implementation-environments
            • Dynamic-semantics
            • Static-semantics
            • Grammar
            • Integer-formats
            • Types
            • Portable-ascii-identifiers
            • Values
            • Integer-operations
            • Computation-states
            • Object-designators
              • Objdesign
                • Objdesign-fix
                • Objdesign-case
                • Objdesignp
                • Objdesign-count
                • Objdesign-equiv
                • Objdesign-auto
                  • Make-objdesign-auto
                    • Objdesign-auto->scope
                    • Objdesign-auto->name
                    • Objdesign-auto->frame
                    • Change-objdesign-auto
                  • Objdesign-member
                  • Objdesign-element
                  • Objdesign-static
                  • Objdesign-alloc
                  • Objdesign-kind
                • Address
                • Object-disjointp
                • Objdesign-option
              • Operations
              • Errors
              • Tag-environments
              • Function-environments
              • Character-sets
              • Flexible-array-member-removal
              • Arithmetic-operations
              • Pointer-operations
              • Bytes
              • Keywords
              • Real-operations
              • Array-operations
              • Scalar-operations
              • Structure-operations
            • Representation
            • Transformation-tools
            • Insertion-sort
            • Pack
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Objdesign-auto

    Make-objdesign-auto

    Basic constructor macro for objdesign-auto structures.

    Syntax
    (make-objdesign-auto [:name <name>] 
                         [:frame <frame>] 
                         [:scope <scope>]) 
    

    This is the usual way to construct objdesign-auto structures. It simply conses together a structure with the specified fields.

    This macro generates a new objdesign-auto structure from scratch. See also change-objdesign-auto, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by fty::defprod.

    Macro: make-objdesign-auto

    (defmacro make-objdesign-auto (&rest args)
      (std::make-aggregate 'objdesign-auto
                           args '((:name) (:frame) (:scope))
                           'make-objdesign-auto
                           nil))

    Function: objdesign-auto

    (defun objdesign-auto (name frame scope)
      (declare (xargs :guard (and (identp name)
                                  (natp frame)
                                  (natp scope))))
      (declare (xargs :guard t))
      (let ((__function__ 'objdesign-auto))
        (declare (ignorable __function__))
        (b* ((name (mbe :logic (ident-fix name)
                        :exec name))
             (frame (mbe :logic (nfix frame) :exec frame))
             (scope (mbe :logic (nfix scope) :exec scope)))
          (cons :auto (list name frame scope)))))