From: Carl Youngblood Date: 2004-06-30T05:46:02+09:00 Subject: Re: Ruby/DL - how to declare a typedef? Here is a concrete example: typedef unsigned short int CK_USHORT; typedef CK_USHORT CK_RV; typedef NULL CK_VOID_PTR; /* function C_Initialize() */ CK_RV C_Initialize(CK_VOID_PTR pReserved); Thanks, Carl On Tue, 29 Jun 2004 13:35:40 -0700, Carl Youngblood wrote: > I'm trying to learn Ruby/DL, but I'm having trouble with the lack of > documentation. _why's brief tutorial was a good start, but I'm trying > to import a library that has a ton of typedefs in it. How do I do > these? Do I need to declare equivalent Ruby datatypes? What if they > don't map perfectly? > > Thanks, > Carl Youngblood