#endif #ifdef HAVE_SETPGRP /* MAKE_INTRINSIC_0("setpgrp", setpgrp_cmd, SLANG_INT_TYPE), */ #endif #ifdef HAVE_SETUID MAKE_INTRINSIC_I("setuid", setuid_cmd, SLANG_INT_TYPE), #endif #ifdef HAVE_KILL MAKE_INTRINSIC_II("kill", kill_cmd, SLANG_INT_TYPE), #endif #ifdef HAVE_KILLPG MAKE_INTRINSIC_II("killpg", killpg_cmd, SLANG_INT_TYPE), #endif #ifdef HAVE_SETPRIORITY MAKE_INTRINSIC_III("setpriority", setpriority_intrin, SLANG_INT_TYPE), #endif #ifdef HAVE_GETPRIORITY MAKE_INTRINSIC_II("getpriority", getpriority_intrin, SLANG_VOID_TYPE), #endif SLANG_END_INTRIN_FUN_TABLE }; static SLang_IConstant_Type Const_Table [] = { #ifdef PRIO_PROCESS MAKE_ICONSTANT("PRIO_PROCESS", PRIO_PROCESS), #endif #ifdef PRIO_PGRP MAKE_ICONSTANT("PRIO_PGRP", PRIO_PGRP), #endif
MAKE_INTRINSIC_0("slsmg_reverse_video", smg_reverse_video, SLANG_VOID_TYPE), MAKE_INTRINSIC_I("slsmg_set_color", smg_set_color, SLANG_VOID_TYPE), MAKE_INTRINSIC_0("slsmg_normal_video", smg_normal_video, SLANG_VOID_TYPE), MAKE_INTRINSIC_S("slsmg_write_string", smg_write_string, SLANG_VOID_TYPE), MAKE_INTRINSIC_0("slsmg_cls", smg_cls, SLANG_VOID_TYPE), MAKE_INTRINSIC_0("slsmg_refresh", smg_refresh, SLANG_VOID_TYPE), MAKE_INTRINSIC_0("slsmg_reset_smg", smg_reset_smg, SLANG_VOID_TYPE), MAKE_INTRINSIC_0("slsmg_init_smg", smg_init_smg, SLANG_VOID_TYPE), MAKE_INTRINSIC_SI("slsmg_write_nstring", smg_write_nstring, SLANG_VOID_TYPE), MAKE_INTRINSIC_6("slsmg_write_wrapped_string", smg_write_wrapped_string, SLANG_VOID_TYPE, S,I,I,I,I,I), MAKE_INTRINSIC_0("slsmg_char_at", smg_char_at, SLANG_INT_TYPE), MAKE_INTRINSIC_II("slsmg_set_screen_start", smg_set_screen_start, SLANG_VOID_TYPE), MAKE_INTRINSIC_I("slsmg_draw_hline", smg_draw_hline, SLANG_VOID_TYPE), MAKE_INTRINSIC_I("slsmg_draw_vline", smg_draw_vline, SLANG_VOID_TYPE), MAKE_INTRINSIC_III("slsmg_draw_object", smg_draw_object, SLANG_VOID_TYPE), MAKE_INTRINSIC_4("slsmg_draw_box", smg_draw_box, SLANG_VOID_TYPE,I,I,I,I), MAKE_INTRINSIC_0("slsmg_get_column", smg_get_column, SLANG_INT_TYPE), MAKE_INTRINSIC_0("slsmg_get_row", smg_get_row, SLANG_INT_TYPE), MAKE_INTRINSIC_I("slsmg_forward", smg_forward, SLANG_VOID_TYPE), MAKE_INTRINSIC_5("slsmg_set_color_in_region", smg_set_color_in_region, SLANG_VOID_TYPE, I, I, I, I, I), MAKE_INTRINSIC_ISS("slsmg_define_color", smg_define_color, SLANG_VOID_TYPE), #ifndef IBMPC_SYSTEM MAKE_INTRINSIC_S("slsmg_write_to_status_line", smg_write_to_status_line, SLANG_VOID_TYPE), #endif SLANG_END_INTRIN_FUN_TABLE }; static SLang_IConstant_Type Smg_Constants [] = {