g_log_structured() and introspection

Hi all,

During the talk on GLib's new structured logging API at GUADEC today,
it was pointed out that g_log_structured() (and the rest of the
interesting bits of the new structured logging API) are not

I'm not sure what we can do about this. The API is based around
GLogField, which is basically a pointer and a length, and hence is not

    struct _GLogField
      const gchar *key;
      gconstpointer value;
      gssize length;

My suggestion would be for bindings to manually bind
g_log_structured_array() with whatever language-specific syntax or API
they see fit, and to ignore the GIR definitions of g_log_structured()
and g_log_structured_array().



Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]