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
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 <carl.youngblood@gmail.com> 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