Slight text change for the language subdirectory when using verbose output and change to use Printf rather than printf
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
207ba5ce39
commit
e810d025c9
1 changed files with 6 additions and 6 deletions
|
|
@ -564,8 +564,8 @@ void SWIG_getoptions(int argc, char *argv[]) {
|
||||||
Swig_mark_arg(i);
|
Swig_mark_arg(i);
|
||||||
} else if (strcmp(argv[i], "-swiglib") == 0) {
|
} else if (strcmp(argv[i], "-swiglib") == 0) {
|
||||||
if (SwigLibWin)
|
if (SwigLibWin)
|
||||||
printf("%s\n", Char(SwigLibWin));
|
Printf(stdout, "%s\n", Char(SwigLibWin));
|
||||||
printf("%s\n", SwigLib);
|
Printf(stdout, "%s\n", SwigLib);
|
||||||
SWIG_exit(EXIT_SUCCESS);
|
SWIG_exit(EXIT_SUCCESS);
|
||||||
} else if (strcmp(argv[i], "-o") == 0) {
|
} else if (strcmp(argv[i], "-o") == 0) {
|
||||||
Swig_mark_arg(i);
|
Swig_mark_arg(i);
|
||||||
|
|
@ -941,8 +941,8 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
||||||
Swig_add_directory((String *) SwigLib);
|
Swig_add_directory((String *) SwigLib);
|
||||||
|
|
||||||
if (Verbose) {
|
if (Verbose) {
|
||||||
printf("LangSubDir: %s\n", Char(LangSubDir));
|
Printf(stdout, "Language subdirectory: %s\n", LangSubDir);
|
||||||
printf("Search paths:\n");
|
Printf(stdout, "Search paths:\n");
|
||||||
List *sp = Swig_search_path();
|
List *sp = Swig_search_path();
|
||||||
Iterator s;
|
Iterator s;
|
||||||
for (s = First(sp); s.item; s = Next(s)) {
|
for (s = First(sp); s.item; s = Next(s)) {
|
||||||
|
|
@ -966,7 +966,7 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
||||||
outfile = outfile_name;
|
outfile = outfile_name;
|
||||||
|
|
||||||
if (Verbose)
|
if (Verbose)
|
||||||
printf("Handling checkout...\n");
|
Printf(stdout, "Handling checkout...\n");
|
||||||
|
|
||||||
s = Swig_include(input_file);
|
s = Swig_include(input_file);
|
||||||
if (!s) {
|
if (!s) {
|
||||||
|
|
@ -992,7 +992,7 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
||||||
} else {
|
} else {
|
||||||
// Run the preprocessor
|
// Run the preprocessor
|
||||||
if (Verbose)
|
if (Verbose)
|
||||||
printf("Preprocessing...\n");
|
Printf(stdout, "Preprocessing...\n");
|
||||||
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue