diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2014-02-25 18:55:37 +0100 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2014-02-26 17:27:08 +0100 |
commit | 6432c9213bff425d7d0f2be39df59337588caff3 (patch) | |
tree | 071456aeb8251cbdfba7fc0b2a1612386540bef4 /tests/scanner/regress.c | |
parent | 63022d4290264182d1d41cffc9bf12f202931379 (diff) | |
download | gobject-introspection-6432c9213bff425d7d0f2be39df59337588caff3.tar.gz |
maintransformer: don't pair methods if the symbol prefix does not match with a final underscore
In cases like g_resources_register() and gdk_events_get_angle(),
the c_symbol_prefix of the first parameter (resp. g_resource and
gdk_event) is a prefix of the symbol, but the next character is
not _, so that should not be considered a method.
For backward compatibility reasons, we still generate one, but
then it's not included in the documentation (because of moved_to)
Diffstat (limited to 'tests/scanner/regress.c')
-rw-r--r-- | tests/scanner/regress.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index 4507bc6c..1bad36e3 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -1872,6 +1872,16 @@ regress_test_boxed_equals (RegressTestBoxed *boxed, regress_test_simple_boxed_a_equals(&other->nested_a, &boxed->nested_a)); } +void +regress_test_boxeds_not_a_method (RegressTestBoxed *boxed) +{ +} + +void +regress_test_boxeds_not_a_static (void) +{ +} + static void regress_test_boxed_free (RegressTestBoxed *boxed) { |