Lines Matching defs:VALUE

155 # define VALUE int
161 static VALUE objtbl;
163 static VALUE mVIM;
164 static VALUE cBuffer;
165 static VALUE cVimWindow;
166 static VALUE eDeletedBufferError;
167 static VALUE eDeletedWindowError;
290 static VALUE (*dll_rb_assoc_new) (VALUE, VALUE);
291 VALUE *dll_rb_cFalseClass;
292 VALUE *dll_rb_cFixnum;
294 VALUE *dll_rb_cFloat;
296 VALUE *dll_rb_cNilClass;
297 static VALUE *dll_rb_cObject;
298 VALUE *dll_rb_cSymbol;
299 VALUE *dll_rb_cTrueClass;
300 static void (*dll_rb_check_type) (VALUE,int);
301 static VALUE (*dll_rb_class_path) (VALUE);
302 static VALUE (*dll_rb_data_object_alloc) (VALUE, void*, RUBY_DATA_FUNC, RUBY_DATA_FUNC);
303 static VALUE (*dll_rb_define_class_under) (VALUE, const char*, VALUE);
304 static void (*dll_rb_define_const) (VALUE,const char*,VALUE);
305 static void (*dll_rb_define_global_function) (const char*,VALUE(*)(),int);
306 static void (*dll_rb_define_method) (VALUE,const char*,VALUE(*)(),int);
307 static VALUE (*dll_rb_define_module) (const char*);
308 static void (*dll_rb_define_module_function) (VALUE,const char*,VALUE(*)(),int);
309 static void (*dll_rb_define_singleton_method) (VALUE,const char*,VALUE(*)(),int);
310 static void (*dll_rb_define_virtual_variable) (const char*,VALUE(*)(),void(*)());
311 static VALUE *dll_rb_stdout;
312 static VALUE *dll_rb_eArgError;
313 static VALUE *dll_rb_eIndexError;
314 static VALUE *dll_rb_eRuntimeError;
315 static VALUE *dll_rb_eStandardError;
316 static VALUE (*dll_rb_eval_string_protect) (const char*, int*);
317 static void (*dll_rb_global_variable) (VALUE*);
318 static VALUE (*dll_rb_hash_aset) (VALUE, VALUE, VALUE);
319 static VALUE (*dll_rb_hash_new) (void);
320 static VALUE (*dll_rb_inspect) (VALUE);
321 static VALUE (*dll_rb_int2inum) (long);
323 static long (*dll_rb_fix2int) (VALUE);
324 static long (*dll_rb_num2int) (VALUE);
325 static unsigned long (*dll_rb_num2uint) (VALUE);
327 static VALUE (*dll_rb_lastline_get) (void);
328 static void (*dll_rb_lastline_set) (VALUE);
329 static void (*dll_rb_load_protect) (VALUE, int, int*);
330 static long (*dll_rb_num2long) (VALUE);
331 static unsigned long (*dll_rb_num2ulong) (VALUE);
332 static VALUE (*dll_rb_obj_alloc) (VALUE);
333 static VALUE (*dll_rb_obj_as_string) (VALUE);
334 static VALUE (*dll_rb_obj_id) (VALUE);
335 static void (*dll_rb_raise) (VALUE, const char*, ...);
337 static VALUE (*dll_rb_string_value) (volatile VALUE*);
339 static char *(*dll_rb_str2cstr) (VALUE,int*);
341 static VALUE (*dll_rb_str_cat) (VALUE, const char*, long);
342 static VALUE (*dll_rb_str_concat) (VALUE, VALUE);
343 static VALUE (*dll_rb_str_new) (const char*, long);
346 static VALUE (*dll_rb_str_new_cstr) (const char*);
348 static VALUE (*dll_rb_str_new2) (const char*);
351 static VALUE (*dll_rb_errinfo) (void);
353 static VALUE *dll_ruby_errinfo;
364 static char * (*dll_rb_string_value_ptr) (volatile VALUE*);
365 static VALUE (*dll_rb_float_new) (double);
366 static VALUE (*dll_rb_ary_new) (void);
367 static VALUE (*dll_rb_ary_push) (VALUE, VALUE);
371 static void (*dll_ruby_init_stack)(VALUE*, void*);
373 static void (*dll_ruby_init_stack)(VALUE*);
378 static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
385 static VALUE (*dll_rb_enc_str_new) (const char*, long, rb_encoding*);
386 static VALUE (*dll_rb_sprintf) (const char*, ...);
387 static VALUE (*dll_rb_require) (const char*);
392 static void (*dll_rb_gc_writebarrier_unprotect_promoted)(VALUE);
396 SIGNED_VALUE rb_num2long_stub(VALUE x)
400 VALUE rb_int2big_stub(SIGNED_VALUE x)
406 long rb_fix2int_stub(VALUE x)
410 long rb_num2int_stub(VALUE x)
416 VALUE
421 VALUE rb_num2ulong(VALUE x)
429 void rb_gc_writebarrier_unprotect_promoted_stub(VALUE obj)
647 static VALUE
669 static VALUE
677 VALUE v;
704 VALUE line;
746 rb_hash_aset(objtbl, rb_obj_id((VALUE) buf->b_ruby_ref), Qnil);
755 rb_hash_aset(objtbl, rb_obj_id((VALUE) win->w_ruby_ref), Qnil);
810 RUBYEXTERN VALUE ruby_errinfo;
813 VALUE eclass;
814 VALUE einfo;
856 VALUE epath;
874 static VALUE vim_message(VALUE self UNUSED, VALUE str)
895 static VALUE vim_set_option(VALUE self UNUSED, VALUE str)
902 static VALUE vim_command(VALUE self UNUSED, VALUE str)
909 static VALUE vim_to_ruby(typval_T *tv)
911 VALUE result = Qnil;
972 static VALUE vim_evaluate(VALUE self UNUSED, VALUE str)
976 VALUE result;
993 static VALUE buffer_new(buf_T *buf)
997 return (VALUE) buf->b_ruby_ref;
1001 VALUE obj = Data_Wrap_Struct(cBuffer, 0, 0, buf);
1008 static buf_T *get_buf(VALUE obj)
1018 static VALUE buffer_s_current()
1023 static VALUE buffer_s_count()
1039 static VALUE buffer_s_aref(VALUE self UNUSED, VALUE num)
1059 static VALUE buffer_name(VALUE self)
1066 static VALUE buffer_number(VALUE self)
1073 static VALUE buffer_count(VALUE self)
1080 static VALUE get_buffer_line(buf_T *buf, linenr_T n)
1087 static VALUE buffer_aref(VALUE self, VALUE num)
1096 static VALUE set_buffer_line(buf_T *buf, linenr_T n, VALUE str)
1127 static VALUE buffer_aset(VALUE self, VALUE num, VALUE str)
1136 static VALUE buffer_delete(VALUE self, VALUE num)
1170 static VALUE buffer_append(VALUE self, VALUE num, VALUE str)
1209 static VALUE window_new(win_T *win)
1213 return (VALUE) win->w_ruby_ref;
1217 VALUE obj = Data_Wrap_Struct(cVimWindow, 0, 0, win);
1224 static win_T *get_win(VALUE obj)
1234 static VALUE window_s_current()
1243 static VALUE line_s_current()
1248 static VALUE set_current_line(VALUE self UNUSED, VALUE str)
1253 static VALUE current_line_number()
1260 static VALUE window_s_count()
1274 static VALUE window_s_aref(VALUE self UNUSED, VALUE num)
1289 static VALUE window_buffer(VALUE self)
1296 static VALUE window_height(VALUE self)
1303 static VALUE window_set_height(VALUE self, VALUE height)
1314 static VALUE window_width(VALUE self UNUSED)
1319 static VALUE window_set_width(VALUE self UNUSED, VALUE width)
1332 static VALUE window_cursor(VALUE self)
1339 static VALUE window_set_cursor(VALUE self, VALUE pos)
1341 VALUE lnum, col;
1356 static VALUE f_nop(VALUE self UNUSED)
1361 static VALUE f_p(int argc, VALUE *argv, VALUE self UNUSED)
1364 VALUE str = rb_str_new("", 0);
1377 RUBYEXTERN VALUE rb_stdout;