From: Florian Gross Date: 2005-01-24T08:35:52+09:00 Subject: Re: [ruby-dl] unexpected type 'N' Simon Strandgaard wrote: > My program (aeditor) works ok on my setup (ruby-1.8.1, linux). > However when installing on another box (ruby-1.8.2, linux), then the > following crash happens. > > [shevegen] I, [2005-01-23T18:10:35.392024 #3970] INFO -- : program begin. > [shevegen] F, [2005-01-23T18:10:35.420153 #3970] FATAL -- : uncaught I think I've been experiencing similar trouble with evil-ruby. I thought it was just me and that it didn't work for some time, but now we know that it was introduced only recently. > The wrapper code goes like this: > > > require 'dl/import' > require 'dl/struct' > module Curses > extend DL::Importable > dlload 'libncursesw.so' > > typealias 'NCURSES_SIZE_T', 'short' > typealias 'chtype', 'unsigned long' > typealias 'attr_t', 'chtype' > typealias 'bool', 'int' typealias 'NCURSES_SIZE_T', nil, nil, nil, 'short' typealias 'chtype', nil, nil, nil, 'unsigned long' typealias 'attr_t', nil, nil, nil, 'chtype' typealias 'bool', nil, nil, nil, 'int' > I cannot figure out what the problem seems to be? > Maybe something is different in 1.8.2 ? > (maybe I should upgrade to 1.8.2) I'm not sure if this change was accidental or on purpose. It might be a bug that was introduced in 1.8.2. Maybe Takaaki Tateishi could respond on this?