bit.ptr_jumpΒΆ
Jump to the address stored in ptr. Effectively ;*ptr.
SignatureΒΆ
def ptr_jump ptr < bit.pointers.to_jump { ... }
Defined in bit/pointers.fj β lines 53β56 (view on GitHub).
ComplexityΒΆ
Time:
2w@ + 2Space:
2w@ + 2
See the complexity glossary for what @, w, dw, dbit, n mean.
Requires initΒΆ
The following must be initialised before this macro is invoked:
bit.pointers.ptr_init
SourceΒΆ
Click to view the macro body
def ptr_jump ptr < bit.pointers.to_jump {
.pointers.set_jump_pointer ptr
;bit.pointers.to_jump
}
Depends onΒΆ
Used byΒΆ
Example usesΒΆ
bit.exact_xor_from_ptrinbit/pointers.fj
β Previous: bit.pointers.set_flip_pointer
Next: bit.ptr_flip β