"Include what you use" for tests

Many of these tests implicitly required the target language library files to include the headers upstream.
This commit is contained in:
Seth R Johnson 2017-11-07 18:35:00 -05:00
commit feeb2516ae
17 changed files with 61 additions and 31 deletions

View file

@ -11,6 +11,7 @@ struct ExtendMe {
%{
#include <map>
#include <string.h>
std::map<ExtendMe*, char *> ExtendMeStringMap;
void ExtendMe_thing_set(ExtendMe *self, const char *val) {
char *old_val = ExtendMeStringMap[self];