diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-10-13 22:17:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-10-13 22:21:21 (GMT) |
commit | 601b8149bf81231a09e2977dbdbfe8e8e568c1f4 (patch) | |
tree | 9cf7c0e3b6398b4ad24880b3dcd26ef9b013a7fe /plugins/javadesc | |
parent | 362ff8ddd7fac8a10c7cccae303d2ce5ea6dd7f2 (diff) |
Defined proper Python bindings for class/enum types.
Diffstat (limited to 'plugins/javadesc')
-rw-r--r-- | plugins/javadesc/field.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/javadesc/field.c b/plugins/javadesc/field.c index 95b0b8f..799d39d 100644 --- a/plugins/javadesc/field.c +++ b/plugins/javadesc/field.c @@ -91,7 +91,7 @@ static GDataType *jtd_object_type_descriptor(input_buffer *buffer) name[len - 1] = '\0'; - root = g_class_enum_type_new(CET_CLASS, name); + root = g_class_enum_type_new(CEK_CLASS, name); /** * Pour éviter les fuites si aucun paquet n'est présent... @@ -154,7 +154,7 @@ static GDataType *jtd_object_type_descriptor(input_buffer *buffer) while (1); if (name != NULL) - result = g_class_enum_type_new(CET_CLASS, name); + result = g_class_enum_type_new(CEK_CLASS, name); return result; |