From b433d80debdaf0192d6564fb903d79466d5fa566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 23 Mar 2016 03:02:29 +0100 Subject: [PATCH] geckolib: Blacklist some more comparators in regen_style_structs.sh We *do* generate bindings for them, and they compile fine, but the expected size for them is not correct. My guess is that C++ types without members have at least 1 byte to be addressable. I'll test that later, but for now we don't care about them... --- ports/geckolib/tools/regen_style_structs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/geckolib/tools/regen_style_structs.sh b/ports/geckolib/tools/regen_style_structs.sh index 5e349e91741..0add57034df 100755 --- a/ports/geckolib/tools/regen_style_structs.sh +++ b/ports/geckolib/tools/regen_style_structs.sh @@ -70,7 +70,11 @@ fi -match "nsTSubstring" \ -match "nsTString" \ -blacklist-type "nsStringComparator" \ + -blacklist-type "nsCStringComparator" \ -blacklist-type "nsDefaultStringComparator" \ + -blacklist-type "nsDefaultCStringComparator" \ + -blacklist-type "nsCaseInsensitiveCStringArrayComparator" \ + -blacklist-type "nsCaseInsensitiveCStringComparator" \ -include "$1/mozilla-config.h" \ -o ../gecko_style_structs.rs \ "$DIST_INCLUDE/nsString.h"