klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

kwrite.h (636B)


      1 /*
      2 ** kwrite.h
      3 ** Writer for the Kernel Programming Language
      4 ** See Copyright Notice in klisp.h
      5 */
      6 
      7 #ifndef kwrite_h
      8 #define kwrite_h
      9 
     10 #include "kobject.h"
     11 #include "kstate.h"
     12 
     13 /*
     14 ** Writer interface
     15 */
     16 void kwrite_display_to_port(klisp_State *K, TValue port, TValue obj, 
     17                             bool displayp);
     18 void kwrite_simple_to_port(klisp_State *K, TValue port, TValue obj);
     19 void kwrite_newline_to_port(klisp_State *K, TValue port);
     20 void kwrite_char_to_port(klisp_State *K, TValue port, TValue ch);
     21 void kwrite_u8_to_port(klisp_State *K, TValue port, TValue u8);
     22 void kwrite_flush_port(klisp_State *K, TValue port);
     23 
     24 #endif
     25