Skip to content

feat(amx): add Amx::hlw() accessor for the heap low-water mark - #54

Merged
NullSablex merged 1 commit into
masterfrom
feat/hlw-accessor
Aug 31, 2026
Merged

feat(amx): add Amx::hlw() accessor for the heap low-water mark#54
NullSablex merged 1 commit into
masterfrom
feat/hlw-accessor

Conversation

@NullSablex

Copy link
Copy Markdown
Owner

Expõe o registrador hlw (fundo do heap) via Amx::hlw(), espelhando heap()/stp(). Necessário para o PawnPro-Debugger detectar heap underflow (AMX_ERR_HEAPLOW) no debug hook, antes de a VM abortar, sem cutucar o *mut AMX cru. Complementa stack()/heap()/stp() para a leva de erros de runtime STACKERR/HEAPLOW/MEMACCESS.

Espelha heap()/stp(): expõe o registrador hlw (fundo do heap). Um debugger
precisa dele para detectar heap underflow (AMX_ERR_HEAPLOW) num debug hook,
antes de a VM abortar — sem cutucar o *mut AMX cru.
NullSablex added a commit to NullSablex/PawnPro-Debugger that referenced this pull request Aug 31, 2026
Traz o accessor hlw() (fundo do heap) necessário para detectar heap underflow.
Aponta para a branch do PR NullSablex/rust-samp#54; re-pinar no master estável
quando o PR mergear, antes de fechar este.
@NullSablex
NullSablex merged commit 336f8de into master Aug 31, 2026
8 checks passed
@NullSablex
NullSablex deleted the feat/hlw-accessor branch August 31, 2026 07:54
NullSablex added a commit to NullSablex/PawnPro-Debugger that referenced this pull request Aug 31, 2026
O PR NullSablex/rust-samp#54 (Amx::hlw) foi mergeado; sai da branch do PR e
aponta para o master estável do fork.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant