Obtain a new Java pointer.
(new-pointer pointers) → pointer
See pointerp for details on how new pointers are obtained.
This function is a guarded wrapper
of the constrained function
Function:
(defun new-pointer (pointers) (declare (xargs :guard (pointer-listp pointers))) (let ((__function__ 'new-pointer)) (declare (ignorable __function__)) (new-pointer-raw pointers)))
Theorem:
(defthm pointerp-of-new-pointer (b* ((pointer (new-pointer pointers))) (pointerp pointer)) :rule-classes :rewrite)
Theorem:
(defthm new-pointer-is-new (not (member-equal (new-pointer pointers) pointers)))