01f8a8c2d5
Instead of a script which generates macros, emit static inlines in individual header (or C files). This solves a few issues with the original setup: - The documentation was off. We match the documentation now. - The stack macros did not check constness; see some of the fixes in crypto/x509. - Type errors did not look like usual type errors. - Any type which participated in STACK_OF had to be made partially public. This allows stack types to be defined an internal header or even an individual file. - One could not pass sk_FOO_free into something which expects a function pointer. Thanks to upstream's 411abf2dd37974a5baa54859c1abcd287b3c1181 for the idea. Change-Id: Ie5431390ccad761c17596b0e93941b0d7a68f904 Reviewed-on: https://boringssl-review.googlesource.com/16087 Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
a_bitstr.c | ||
a_bool.c | ||
a_d2i_fp.c | ||
a_dup.c | ||
a_enum.c | ||
a_gentm.c | ||
a_i2d_fp.c | ||
a_int.c | ||
a_mbstr.c | ||
a_object.c | ||
a_octet.c | ||
a_print.c | ||
a_strnid.c | ||
a_time.c | ||
a_type.c | ||
a_utctm.c | ||
a_utf8.c | ||
asn1_lib.c | ||
asn1_locl.h | ||
asn1_par.c | ||
asn1_test.cc | ||
asn_pack.c | ||
charmap.pl | ||
CMakeLists.txt | ||
f_enum.c | ||
f_int.c | ||
f_string.c | ||
t_bitst.c | ||
tasn_dec.c | ||
tasn_enc.c | ||
tasn_fre.c | ||
tasn_new.c | ||
tasn_typ.c | ||
tasn_utl.c | ||
time_support.c |