Regarding to:
It is possible to use SLAPI objects (eg. SUEntityRef) in ruby C extension.
But, can I pass ruby object entity to C function and receive it in C as SUEntityRef?
For example:
Ruby side:
def onElementAdded(entities, entity)
puts SUEX_Test::hello_world(entity)
end
C side:
VALUE hello_world(VALUE c, VALUE entity)
{
SUEntityRef slapi_entity = entity;
}