项目作者: tdworg

项目描述 :
Special functions to jump between functions.
高级语言: PAWN
项目地址: git://github.com/tdworg/samp-include-cjump.git
创建时间: 2017-04-13T16:04:04Z
项目社区:https://github.com/tdworg/samp-include-cjump

开源协议:

下载


TDW C-like jumps

This library adds the functional to jump between functions.

Example:

  1. new jmp[JmpBuf];
  2. main() {
  3. new ret;
  4. setjmp(jmp, ret);
  5. if (ret < 10) {
  6. somefunc(ret);
  7. }
  8. }
  9. somefunc(ret)
  10. {
  11. printf("%d", ret);
  12. longjmp(jmp, ++ret);
  13. }