"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:
parent
c1258323b1
commit
feeb2516ae
17 changed files with 61 additions and 31 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue