- populate mandatory includes
This commit is contained in:
@@ -234,6 +234,10 @@ STATIC int8_t createStub(char *aOutput, char *aNoSuffix, cfunction_list_t *aFunc
|
|||||||
fprintf(cfile, "/* @file %s"NEWLINES, gnu_basename(cFileName));
|
fprintf(cfile, "/* @file %s"NEWLINES, gnu_basename(cFileName));
|
||||||
fprintf(cfile, " * @details"NEWLINES" * This is a stub for CUnit.\\n"NEWLINES);
|
fprintf(cfile, " * @details"NEWLINES" * This is a stub for CUnit.\\n"NEWLINES);
|
||||||
fprintf(cfile, " * - generated by stubser -"NEWLINES" */" NEWLINES NEWLINES);
|
fprintf(cfile, " * - generated by stubser -"NEWLINES" */" NEWLINES NEWLINES);
|
||||||
|
fprintf(cfile, "#include <CUnit/CUnit.h>"NEWLINES);
|
||||||
|
fprintf(cfile, "#include \"xtypes.h\""NEWLINES);
|
||||||
|
fprintf(cfile, "#include \"stub.h\""NEWLINES);
|
||||||
|
fprintf(cfile, "#include \"%s\""NEWLINES NEWLINES, gnu_basename(cHeaderName));
|
||||||
|
|
||||||
fprintf(cheader, "/* @file %s"NEWLINES, gnu_basename(cHeaderName));
|
fprintf(cheader, "/* @file %s"NEWLINES, gnu_basename(cHeaderName));
|
||||||
fprintf(cheader, " * @details"NEWLINES" * This is a stub header.\\n"NEWLINES);
|
fprintf(cheader, " * @details"NEWLINES" * This is a stub header.\\n"NEWLINES);
|
||||||
|
Reference in New Issue
Block a user