Skip to content

tdworg/samp-include-cjump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages