L
Luc Heinrich
Greetings,
Suppose that I have the following C code:
typedef struct FOO
{
int bar;
int baz;
};
FOO make_a_foo( void )
{
FOO foo;
foo.bar = 42;
foo.baz = 1;
return foo;
}
I'm struggling to find the correct way (if it's even possible) to get my
hands on the struct returned by 'make_a_foo', using ruby/dl.
I smell some troubles.
Suppose that I have the following C code:
typedef struct FOO
{
int bar;
int baz;
};
FOO make_a_foo( void )
{
FOO foo;
foo.bar = 42;
foo.baz = 1;
return foo;
}
I'm struggling to find the correct way (if it's even possible) to get my
hands on the struct returned by 'make_a_foo', using ruby/dl.
I smell some troubles.