Had to add a pragma around CityHash64 to make it work with
-f-visibility=hidden
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7466
endif
endforeach
add_global_arguments(dev_cflags, language: 'c')
+add_global_arguments(dev_cflags, language: 'cpp')
foreach lang : ['c', 'objc', 'cpp']
// possible hash functions, by using SIMD instructions, or by
// compromising on hash quality.
+#pragma GCC visibility push(default)
+
#include "city.h"
#include <algorithm>
return CityHash128WithSeed(s, len, uint128(k0, k1));
}
}
+
+#pragma GCC visibility pop