From: Kashia Buch Date: 2007-10-10T22:12:15+09:00 Subject: Re: Ruby and (digitalmars) D in combination via RubyInline? Hi, > Correct me if I'm wrong, but that looks like a copy/paste of the regular > ruby headers with appropriate prefix code for D, yes? If so, and if > actually needed for basic functionality, I don't really want to wrap > this up (and more importantly, maintain it) for inline. yes, essentially it is adapting the Ruby headers for D, making the C symbols/constants accessable to D. > If there is some more maintainable way, I'd be intrigued. Like I said, it's kind of low level. There were C parsers to do that translation automatically, but weren't very good at it (at least when I did my wrapper). A better way would be to build something along the lines of: * http://michelf.com/weblog/2007/d-objc-bridge/ or respectively the ruby cocoa stuff. Have a nice day, Kashia -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/