• 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

    Change-objdesign-auto

    Modifying constructor for objdesign-auto structures.

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

    This is an often useful alternative to make-objdesign-auto.

    We construct a new objdesign-auto structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

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

    Macro: change-objdesign-auto

    (defmacro change-objdesign-auto (x &rest args)
      (std::change-aggregate 'objdesign-auto
                             x args
                             '((:name . objdesign-auto->name)
                               (:frame . objdesign-auto->frame)
                               (:scope . objdesign-auto->scope))
                             'change-objdesign-auto
                             'nil))