From: Nathan M. <nm...@ma...> - 2007-12-10 17:09:15
|
Greetings! I'm trying to create a Ruby wrapper around the Directory Services API and noticed that it is one of the frameworks that has the Scripting Bridge metadata already exported in Leopard. I'm trying to execute the dsFindDirNodes method but the 4th parameter is supposed to be a pointer to a long, and is technically an in-out parameter. If I leave it out, it complains that there aren't enough parameters, and when I try to put it in, it complains that it can't convert a FixNum to a "^I" which I take is a pointer to a long. I've verified from the metadata that this is what it is expecting, but I don't know how to pass a pointer to a long (or FixNum/BigNum since Ruby doesn't technically have a long). I've seen that there is an "ObjcPtr" class, but that doesn't seem to work either. On the ruby-cocoa site, it says that there should be documentation for all the frameworks that have metadata available, but it is not located in the specified place and the documentation generator that is included with the source is looking for the ADC Documentation folder from Tiger. Does anyone know when the documentation generator is going to be updated for Leopard or any way to generate it in the meantime? Thanks all. Nathan Mellis Application Developer Mission Aviation Fellowship nm...@ma... |