Nife version Beta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

51 lines
1.6 KiB

  1. /* Copyright (C) 2011-2022 Patrick H. E. Foubet - S.E.R.I.A.N.E.
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 3 of the License, or any
  5. later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>
  12. *******************************************************************/
  13. /* nife.h */
  14. #ifndef __NIFE_NIFE_H__
  15. #define __NIFE_NIFE_H__
  16. #include <setjmp.h>
  17. #include <errno.h>
  18. #define LDFLT 24 /* default length for names */
  19. extern jmp_buf ENV_INT;
  20. extern void interInfos(char *P, char*M);
  21. typedef void (*PFV) (void);
  22. typedef void (*PFC) (char *);
  23. typedef unsigned char bool;
  24. extern int isSepa(char c, int m);
  25. extern void IF_about(void);
  26. extern void IF_Dump(void);
  27. extern void IF_Restore(void);
  28. extern void IF_Load(void);
  29. extern void IF_LoadCS(void);
  30. extern void * makeFunction(char *S);
  31. extern void IF_ExecCS(void);
  32. extern void IF_ExecCSf(void);
  33. extern void putTrSuite(PFC);
  34. extern void dropTrSuite(void);
  35. extern void compileFile(char *);
  36. extern PFC getTrSuite(void);
  37. extern void dump_marque(int fd, char C);
  38. extern void restore_marque(int fd, char C);
  39. extern void dump_rest_pr(int T, int N, char * L);
  40. extern void rest_links_pr(int i, char *O, char *C);
  41. #endif