Description

Notifies the internal buffer was reallocated, thus whatever was returned by Efl.Io.Buffer.slice becomes invalid

Since 1.19

Signature

reallocated;

C information

C usage

static void
on_efl_io_buffer_event_reallocated(void *data, const Efl_Event *event)
{
    void info = event->info;
    Eo *obj = event->object;
    Data *d = data;
 
    /* event hander code */
}
 
static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_IO_BUFFER_EVENT_REALLOCATED, on_efl_io_buffer_event_reallocated, d);
}