_CLASS_OPAQUE_REFCOUNTED - "create" method with arguments



Hello,
I'm going to create class, using _CLASS_OPAQUE_REFCOUNTED. Unfortunatelly, my "new function" has following signature:
gst_memory_new_wrapped (GstMemoryFlags flags,
                       gpointer data,
                       gsize maxsize,
                       gsize offset,
                       gsize size,
                       gpointer user_data,
                       GDestroyNotify notify);
and parser requires gst_memory_new_wrapped(void).
Is it possible to write custom static method "create" with some arguments?

Thanks for reply,
Best regards,
Marcin Kolny



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