From: snacktime Date: 2006-09-19T04:14:48+09:00 Subject: Re: C extension question > Better to wrap it as a data type in Ruby, which gives you a ruby VALUE > which references the native data. There's a simple macro to grab the > original pointer given the VALUE. > > DEC Alpha doesn't necessarily have sizeof(int) == sizeof(void *), so > please don't assume so. I hate fixing code that does that. ;-) > > Aria (A kerberos user, too!) Well I'll do the grunt work and then when I release it I'll accept patches from those with more C experience than I have. I actually can't remember if I ever wrote a C program before, but I've been meaning to learn it so I figured this was as good a project as any since we have some use for kerberos bindings.