Maybe fixing tests for Windows

This commit is contained in:
Matthias Koefferlein
2026-08-15 14:42:06 +02:00
parent e5422b9a0f
commit 005edf7370
5 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -1280,7 +1280,8 @@ static gsi::Class<A> decl_a ("", "A",
gsi::method ("ft_cptr", &A::ft_cptr) +
gsi::method ("ft_var", &A::ft_var) +
gsi::method ("var2s", &A::var2s) +
gsi::method ("ll_size", &A::ll_size)
gsi::method ("ll_size", &A::ll_size) +
gsi::method ("l_size", &A::l_size)
);
static gsi::Class<A_NC> decl_a_nc (decl_a, "", "A_NC");
+2 -1
View File
@@ -421,8 +421,9 @@ struct A
// Variant to parsable string for Variant generation tests
static std::string var2s (const tl::Variant &v) { return v.to_parsable_string (); }
// platform specifics: length of "long long"
// platform specifics: length of "long long" and "long"
static size_t ll_size () { return sizeof (long long); }
static size_t l_size () { return sizeof (long); }
// feed-through values for full cycle tests
// (mainly for string encoding and binary strings)