• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
        • Atj
        • Aij
        • Language
          • Syntax
          • Semantics
            • Primitive-function-macros
            • Primitive-values
            • Floating-point-placeholders
            • Pointers
            • Floating-point-value-set-parameters
            • Values
            • Primitive-operations
            • Primitive-conversions
            • Reference-values
              • Reference-value
                • Reference-value-fix
                • Reference-value-case
                • Reference-value-equiv
                • Reference-valuep
                • Reference-value-pointer
                  • Reference-value-pointer->get
                  • Make-reference-value-pointer
                    • Change-reference-value-pointer
                  • Reference-value-null
                  • Reference-value-kind
        • Riscv
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Reference-value-pointer

    Make-reference-value-pointer

    Basic constructor macro for reference-value-pointer structures.

    Syntax
    (make-reference-value-pointer [:get <get>]) 
    

    This is the usual way to construct reference-value-pointer structures. It simply conses together a structure with the specified fields.

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

    Definition

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

    Macro: make-reference-value-pointer

    (defmacro make-reference-value-pointer (&rest args)
      (std::make-aggregate 'reference-value-pointer
                           args '((:get))
                           'make-reference-value-pointer
                           nil))

    Function: reference-value-pointer

    (defun reference-value-pointer (get)
      (declare (xargs :guard (pointerp get)))
      (declare (xargs :guard t))
      (let ((__function__ 'reference-value-pointer))
        (declare (ignorable __function__))
        (b* ((get (mbe :logic (pointer-fix get)
                       :exec get)))
          (cons :pointer (list get)))))