Lines Matching defs:VALUE

110 # define VALUE int
115 static VALUE objtbl;
117 static VALUE mVIM;
118 static VALUE cBuffer;
119 static VALUE cVimWindow;
120 static VALUE eDeletedBufferError;
121 static VALUE eDeletedWindowError;
223 static VALUE (*dll_rb_assoc_new) (VALUE, VALUE);
224 VALUE *dll_rb_cFalseClass;
225 VALUE *dll_rb_cFixnum;
226 VALUE *dll_rb_cNilClass;
227 static VALUE *dll_rb_cObject;
228 VALUE *dll_rb_cSymbol;
229 VALUE *dll_rb_cTrueClass;
230 static void (*dll_rb_check_type) (VALUE,int);
231 static VALUE (*dll_rb_class_path) (VALUE);
232 static VALUE (*dll_rb_data_object_alloc) (VALUE, void*, RUBY_DATA_FUNC, RUBY_DATA_FUNC);
233 static VALUE (*dll_rb_define_class_under) (VALUE, const char*, VALUE);
234 static void (*dll_rb_define_const) (VALUE,const char*,VALUE);
235 static void (*dll_rb_define_global_function) (const char*,VALUE(*)(),int);
236 static void (*dll_rb_define_method) (VALUE,const char*,VALUE(*)(),int);
237 static VALUE (*dll_rb_define_module) (const char*);
238 static void (*dll_rb_define_module_function) (VALUE,const char*,VALUE(*)(),int);
239 static void (*dll_rb_define_singleton_method) (VALUE,const char*,VALUE(*)(),int);
240 static void (*dll_rb_define_virtual_variable) (const char*,VALUE(*)(),void(*)());
241 static VALUE *dll_rb_stdout;
242 static VALUE *dll_rb_eArgError;
243 static VALUE *dll_rb_eIndexError;
244 static VALUE *dll_rb_eRuntimeError;
245 static VALUE *dll_rb_eStandardError;
246 static VALUE (*dll_rb_eval_string_protect) (const char*, int*);
247 static void (*dll_rb_global_variable) (VALUE*);
248 static VALUE (*dll_rb_hash_aset) (VALUE, VALUE, VALUE);
249 static VALUE (*dll_rb_hash_new) (void);
250 static VALUE (*dll_rb_inspect) (VALUE);
251 static VALUE (*dll_rb_int2inum) (long);
252 static VALUE (*dll_rb_int2inum) (long);
253 static VALUE (*dll_rb_lastline_get) (void);
254 static void (*dll_rb_lastline_set) (VALUE);
255 static void (*dll_rb_load_protect) (VALUE, int, int*);
256 static long (*dll_rb_num2long) (VALUE);
257 static unsigned long (*dll_rb_num2ulong) (VALUE);
258 static VALUE (*dll_rb_obj_alloc) (VALUE);
259 static VALUE (*dll_rb_obj_as_string) (VALUE);
260 static VALUE (*dll_rb_obj_id) (VALUE);
261 static void (*dll_rb_raise) (VALUE, const char*, ...);
262 static char *(*dll_rb_str2cstr) (VALUE,int*);
263 static VALUE (*dll_rb_str_cat) (VALUE, const char*, long);
264 static VALUE (*dll_rb_str_concat) (VALUE, VALUE);
265 static VALUE (*dll_rb_str_new) (const char*, long);
268 static VALUE (*dll_rb_str_new_cstr) (const char*);
270 static VALUE (*dll_rb_str_new2) (const char*);
273 static VALUE (*dll_rb_errinfo) (void);
275 static VALUE *dll_ruby_errinfo;
281 static char * (*dll_rb_string_value_ptr) (volatile VALUE*);
282 static VALUE (*dll_rb_float_new) (double);
283 static VALUE (*dll_rb_ary_new) (void);
284 static VALUE (*dll_rb_ary_push) (VALUE, VALUE);
287 static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
297 static VALUE (*dll_rb_enc_str_new) (const char*, long, rb_encoding*);
298 static VALUE (*dll_rb_sprintf) (const char*, ...);
299 static void (*ruby_init_stack)(VALUE*);
303 static unsigned long (*dll_rb_num2uint)(VALUE);
304 static long (*dll_rb_num2int)(VALUE);
305 static long (*dll_rb_fix2int)(VALUE);
309 SIGNED_VALUE rb_num2long_stub(VALUE x)
313 VALUE rb_int2big_stub(SIGNED_VALUE x)
511 static VALUE
533 static VALUE
541 VALUE v;
568 VALUE line, oldline;
610 rb_hash_aset(objtbl, rb_obj_id((VALUE) buf->b_ruby_ref), Qnil);
619 rb_hash_aset(objtbl, rb_obj_id((VALUE) win->w_ruby_ref), Qnil);
671 RUBYEXTERN VALUE ruby_errinfo;
674 VALUE eclass;
675 VALUE einfo;
717 VALUE epath;
735 static VALUE vim_message(VALUE self UNUSED, VALUE str)
748 static VALUE vim_set_option(VALUE self UNUSED, VALUE str)
755 static VALUE vim_command(VALUE self UNUSED, VALUE str)
762 static VALUE vim_to_ruby(typval_T *tv)
764 VALUE result = Qnil;
825 static VALUE vim_evaluate(VALUE self UNUSED, VALUE str)
829 VALUE result;
846 static VALUE buffer_new(buf_T *buf)
850 return (VALUE) buf->b_ruby_ref;
854 VALUE obj = Data_Wrap_Struct(cBuffer, 0, 0, buf);
861 static buf_T *get_buf(VALUE obj)
871 static VALUE buffer_s_current()
876 static VALUE buffer_s_count()
892 static VALUE buffer_s_aref(VALUE self UNUSED, VALUE num)
912 static VALUE buffer_name(VALUE self)
919 static VALUE buffer_number(VALUE self)
926 static VALUE buffer_count(VALUE self)
933 static VALUE get_buffer_line(buf_T *buf, linenr_T n)
946 static VALUE buffer_aref(VALUE self, VALUE num)
955 static VALUE set_buffer_line(buf_T *buf, linenr_T n, VALUE str)
989 static VALUE buffer_aset(VALUE self, VALUE num, VALUE str)
998 static VALUE buffer_delete(VALUE self, VALUE num)
1032 static VALUE buffer_append(VALUE self, VALUE num, VALUE str)
1069 static VALUE window_new(win_T *win)
1073 return (VALUE) win->w_ruby_ref;
1077 VALUE obj = Data_Wrap_Struct(cVimWindow, 0, 0, win);
1084 static win_T *get_win(VALUE obj)
1094 static VALUE window_s_current()
1103 static VALUE line_s_current()
1108 static VALUE set_current_line(VALUE self UNUSED, VALUE str)
1113 static VALUE current_line_number()
1120 static VALUE window_s_count()
1134 static VALUE window_s_aref(VALUE self UNUSED, VALUE num)
1149 static VALUE window_buffer(VALUE self)
1156 static VALUE window_height(VALUE self)
1163 static VALUE window_set_height(VALUE self, VALUE height)
1174 static VALUE window_width(VALUE self)
1181 static VALUE window_set_width(VALUE self, VALUE width)
1192 static VALUE window_cursor(VALUE self)
1199 static VALUE window_set_cursor(VALUE self, VALUE pos)
1201 VALUE lnum, col;
1216 static VALUE f_p(int argc, VALUE *argv, VALUE self UNUSED)
1219 VALUE str = rb_str_new("", 0);
1232 RUBYEXTERN VALUE rb_stdout;