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.
 
 
 
 

49 lines
1.4 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. /* stackL.h */
  14. #ifndef __NIFE_STACKL_H__
  15. #define __NIFE_STACKL_H__
  16. #define TRUE ((bool)1)
  17. #define FALSE ((bool)0)
  18. extern void IF_stackL_clear(void);
  19. extern void putBool(bool);
  20. extern bool getBool(void);
  21. extern void negBool(void);
  22. extern void IF_dropL(void);
  23. extern void IF_dupL(void);
  24. extern void IF_swapL(void);
  25. extern void IF_overL(void);
  26. extern void IF_typeL(void);
  27. extern void IF_andL(void);
  28. extern void IF_orL(void);
  29. extern void IF_xorL(void);
  30. extern void IF_true(void);
  31. extern void IF_false(void);
  32. extern void IF_show_stackL(void);
  33. extern void IFD_show_stackL(void);
  34. extern void dump_stackL(int fd);
  35. extern void restore_stackL(int fd);
  36. /* meta-stacks */
  37. extern void IF_new_stackL(void);
  38. extern void IF_old_stackL(void);
  39. #endif