Subject: [ruby-ffi] void pointer to a ruby object in a callback function |
From: Mark |
Date: 10/30/11 3:23 AM |
To: ruby-ffi |
Hi, I am trying to use an api that has a callback function. The api takes a void pointer that is passes through to the callback function. Is it possible to get access to a ruby object via that void pointer? I.e. get a pointer to a ruby object or something functionally equivalent? Cheers, Mark