xviewfuncs.c
Go to the documentation of this file.
1  defun("ADR_TO_STRING",mod,ADR_TO_STRING);
2  defun("EXPAND_NAME",mod,EXPAND_NAME);
4  int n; register pointer argv[];
5 {
6  static struct namelist *name_list;
7  register pointer temp;
8  register int i;
9  ckarg(1);
10  name_list = xv_expand_name(ckstrchr(argv[0]));
11  temp = makevector(C_VECTOR,name_list->count);
12  vpush(temp);
13  for (i=0; i< name_list->count; i++) {
14  temp->c.vec.v[i] =
15  makestring(name_list->names[i],
16  strlen(name_list->names[i]));
17  }
18  free_namelist(name_list);
19  return(vpop());
20 }
22  int n;
23  register pointer argv[];
24 {
25  char *ptr;
26  ckarg(1);
27  ptr = (char *) cknumtoint(argv[0]);
28  if ((int)ptr<10000) error("ADR_TO_STRING: invalid string pointer");
29  return(makestring(ptr,strlen(ptr)));
30 }
31 
32 extern canvas_event;
33 extern canvas_paint_window;
34 extern canvas_pixwin;
35 extern canvas_window_event;
36 extern scrollbar_create;
37 extern event_id;
38 extern event_is_button;
39 extern event_is_down;
40 extern event_is_up;
41 extern event_time;
42 extern event_x;
43 extern event_y;
44 extern icon_create;
45 extern icon_load_mpr;
46 extern mem_create;
47 extern mem_point;
48 extern menu_create;
49 extern menu_create_item;
50 extern menu_find;
51 extern menu_get;
52 extern menu_item_set;
53 extern menu_set;
54 extern menu_show;
55 extern notify_do_dispatch;
56 extern notify_no_dispatch;
58 extern panel_button_image;
59 extern panel_create_button;
60 extern panel_create_choice;
61 extern panel_create_cycle;
63 extern panel_create_slider;
64 extern panel_create_text;
65 extern panel_create_toggle;
67 extern panel_event;
68 extern panel_get;
69 extern panel_get;
70 extern panel_set;
72 extern panel_window_event;
73 extern pf_open;
74 extern pr_rop;
75 extern pr_text;
76 extern pr_vector;
77 extern pw_batch_off;
78 extern pw_copy;
79 extern pw_getcmsname;
80 extern pw_getcolormap;
81 extern pw_polygon_2;
82 extern pw_polyline;
83 extern pw_putcolormap;
84 extern pw_rop;
85 extern pw_setcmsname;
86 extern pw_text;
87 extern pw_ttext;
88 extern pw_vector;
89 extern pw_write;
90 extern pw_writebackground;
91 extern textstring;
92 extern textsw_delete;
93 extern textsw_erase;
94 extern textsw_insert;
96 extern textsw_save;
98 extern textsw_scroll_lines;
99 extern textsw_store_file;
100 extern ttysw_input;
101 extern ttysw_output;
102 
103 extern window_create_canvas;
104 extern window_create_frame;
105 extern window_create_panel;
106 extern window_create_textsw;
107 extern window_create_tty;
108 extern window_destroy;
109 
110 extern window_fit_height;
111 extern window_fit_width;
112 extern window_get;
113 extern window_set;
114 extern xv_col;
115 extern xv_row;
xv_col
menu_create_item
struct vector vec
Definition: eus.h:412
textsw_save
pw_ttext
event_is_down
window_fit_height
pointer C_VECTOR
Definition: eus.c:144
ttysw_input
event_is_up
notify_no_dispatch
pw_copy
panel_create_cycle
panel_set
xv_row
GLfloat n[6][3]
Definition: cube.c:15
pw_text
pointer ADR_TO_STRING(int n, argv)
Definition: xviewfuncs.c:21
panel_event
pw_setcmsname
canvas_paint_window
defun("ADR_TO_STRING", mod, ADR_TO_STRING)
panel_create_text
panel_default_handle_event
canvas_event
pw_batch_off
icon_load_mpr
ttysw_output
cknumtoint(pointer v)
Definition: transargv.c:12
pointer makevector(pointer, int)
Definition: makes.c:417
canvas_pixwin
menu_item_set
pw_write
pw_polyline
ckarg(2)
panel_create_toggle
notify_do_dispatch
menu_get
textsw_scroll_lines
event_x
textsw_delete
pw_getcmsname
window_fit_width
notify_set_itimer_func
union cell::cellunion c
event_y
panel_update_scrolling_size
pr_rop
event_time
Definition: eus.h:379
mem_point
panel_button_image
pr_text
pf_open
icon_create
panel_get
Definition: xviewfuncs.c:69
pointer error(enum errorcode ec,...) pointer error(va_alist) va_dcl
Definition: eus.c:297
window_create_canvas
window_create_tty
menu_find
pw_polygon_2
panel_create_button
window_set
panel_create_message
pw_getcolormap
mem_create
scrollbar_create
pw_putcolormap
event_is_button
pr_vector
canvas_window_event
pointer makestring(char *, int)
Definition: makes.c:147
textsw_erase
window_get
event_id
pw_rop
textsw_screen_line_count
pw_vector
char * ckstrchr(pointer p)
Definition: xview.c:71
pointer EXPAND_NAME(int n, argv)
Definition: xviewfuncs.c:3
window_destroy
panel_window_event
menu_set
pw_writebackground
menu_show
window_create_panel
textsw_insert
panel_create_choice
menu_create
textsw_replace_bytes
pointer v[1]
Definition: eus.h:299
textstring
window_create_frame
panel_create_slider
window_create_textsw
textsw_store_file


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 20:00:44