summaryrefslogtreecommitdiffstats
path: root/ext/dl/dl.h
Commit message (Collapse)AuthorAgeFilesLines
* * ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check ifnobu2009-05-101-0/+1
| | | | | | | | | | the argument is an instance of DL::CFunc. * ext/dl/cptr.c (rb_dlptr_initialize, rb_dlptr_s_malloc): checks if DL::CFunc. [ruby-dev:38403]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): added RUBY_COREDLL.nobu2009-03-171-1/+0
| | | | | | | | * ext/dl/handle.c (rb_dlhandle_initialize): returns msvcrt if libc or RUBY_COREDLL is given. [ruby-core:22828] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/dl.h (dlerror): fixed on Windows.nobu2009-03-021-1/+1
| | | | | | | | * ext/dl/handle.c (rb_dlhandle_initialize): returns handle to libruby if nil is given on Windows as dlopen. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missingnobu2009-03-011-4/+2
| | | | | | | | | | | | | | argument numbers. [ruby-core:22601] * ext/dl/dl.h (DLSTACK_PROTO0_): added. * ext/dl/mkcallback.rb (gencallback, gen_callback_file), (rb_dl_init_callbacks): omit stdcall functions unless supported. * lib/rubygems/config_file.rb (SHGetFolderPath): stdcall. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/test/test_base.rb: add libc search logic.ko12008-12-291-22/+58
| | | | | | | | | | | | | | | | | | | | | | | | this patch is written by Takehiro Kubo. [ruby-core:20963] [Bug #932] * ext/dl/dl.h: Add ",..." as the last argument. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] * ext/dl/lib/dl/stack.rb: add add_padding() to calculate alignment. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] * ext/dl/test/test_func.rb: atof()'s return value is double. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] * ext/dl/test/test_import.rb: - atof()'s return value is double. - The types of qsort's second and third argument are size_t. - fprintf()'s return value is int. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* should define FUNC_CDECL/STDCALL if the macros are not defined.ttate2006-07-071-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added new files.ttate2005-02-041-0/+183
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove all files to replace ruby-dl with ruby-dl2.ttate2005-02-041-313/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged Nakada-san's patch [ruby-core:02916].ttate2004-05-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged Tietew's patch of [ruby-dev:21991].ttate2003-12-011-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of ineffective symbols, lines, constants and so on.ttate2002-11-071-5/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_slice_bang): if there's no correspondingmatz2002-07-111-0/+10
| | | | | | | | | | | | | | | | | | | | substring, slice! should return nil without exception. * array.c (rb_ary_insert): type fixed. * string.c (rb_str_split_m): accept separator value nil as well. * string.c (rb_str_become): was leaking memory. * class.c (rb_include_module): should not alter other classes/modules by inclusion. by this fix, local order may not be preserved for some cases. * class.c (include_class_new): module may be T_ICLASS; retrieve original module information. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename PtrData::alloc and Struct#alloc to malloc respectively.ttate2002-05-201-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add DL::DLSTACK.ttate2002-05-151-24/+40
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cast to long from char, short and int in ASM_PUSH_XXXX.ttate2002-05-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enable dl's stack emulation for constructing function call.ttate2002-05-111-11/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Nakada's patch and define StringValuePtr for ruby-1.6.ttate2002-04-031-6/+13
| | | | | | | CV ---------------------------------------------------------------------- git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ruby-dlttate2002-04-021-0/+282
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e