[Vala] Can adding new virtual method break ABI?
- From: Tal Hadad <tal_hd hotmail com>
- To: Vala Mail List <vala-list gnome org>
- Subject: [Vala] Can adding new virtual method break ABI?
- Date: Sun, 11 Dec 2011 11:40:45 +0200
I've read how GObject define virtual methods, in the XClass struct, and
I'm afraid defining new virtual method can break ABI. Am I right?
Before:
struct _XClass
{
GObjectClass parent_class;
/* stuff */
void (*do_action) (X *self, /* parameters */);
};
After:
struct _XClass
{
GObjectClass parent_class;
/* stuff */
void (*another_action) (X *self, /* parameters */);
void (*do_action) (X *self, /* parameters */);
};
Can this case break ABI?
Tal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]