tdworg / samp-include-cjump

Special functions to jump between functions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TDW C-like jumps

This library adds the functional to jump between functions.

Example:

new jmp[JmpBuf];

main() {
	new ret;
	setjmp(jmp, ret);

	if (ret < 10) {
		somefunc(ret);
	}
}

somefunc(ret)
{
	printf("%d", ret);
	longjmp(jmp, ++ret);
}

About

Special functions to jump between functions.


Languages

Language:Pawn 100.0%