I am familiar with Ruby /DL but not sure how to use the C function calls that have pointers for return parameters
问题 I have this function in this Module require 'dl' require 'dl/import' module LibCalendars extend DL::Importer dlload './cal2jd.o' extern 'int iauCal2jd(int, int, int, double *, double *)' end How do I set this up in a Module to get access to the pointers? Is what I need partly in there? I'm just not sure. How is this done correctly? The exact code is at http://www.iausofa.org/2013_1202_C/sofa/cal2jd.c I need to know how to access those address pointers. The validation tests are here http://www