Subject: [ruby-ffi] Cast null to an undeclared struct when calling a function |
From: Alvaro |
Date: 12/28/10 2:56 PM |
To: ruby-ffi |
Hi,
I have this scenario:
UserInfo *user_info = CloneUserInfo((UserInfo *) NULL);
DoSomethingWithUserInfo(user_info)
I wonder to know if is possible to cast to UserInfo without having to
declare the struct from ruby side since I am actually not going to use
it.
Thanks!