Added banner.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
88b7a1908c
commit
367bf346a0
2 changed files with 27 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
static char cvsroot[] = "$Header$";
|
||||
|
||||
#include "swig.h"
|
||||
|
||||
#include "swigver.h"
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Swig_copy_string()
|
||||
|
|
@ -30,6 +30,31 @@ Swig_copy_string(const char *s) {
|
|||
return c;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Swig_banner()
|
||||
*
|
||||
* Emits the SWIG identifying banner.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
Swig_banner(DOHFile *f) {
|
||||
Printf(f,
|
||||
"/* ----------------------------------------------------------------------------\n\
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).\n\
|
||||
* Version %s %s\n\
|
||||
* \n\
|
||||
* Portions Copyright (c) 1995-2000\n\
|
||||
* The University of Utah, The Regents of the University of California, and\n\
|
||||
* The University of Chicago. Permission is granted to use and distribute this\n\
|
||||
* file in any manner provided this notice remains intact.\n\
|
||||
* \n\
|
||||
* This file is not intended to be easily readable and contains a number of \n\
|
||||
* coding conventions designed to improve portability and efficiency. Do not make\n\
|
||||
* changes to this file unless you know what you are doing--modify the SWIG \n\
|
||||
* interface file instead. \n\
|
||||
* ----------------------------------------------------------------------------- */\n\n", SWIG_VERSION, SWIG_SPIN);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -219,6 +219,7 @@ extern int SwigWrapper_check_local(SwigWrapper *w, DOHString_or_char *n
|
|||
|
||||
/* --- Misc --- */
|
||||
extern char *Swig_copy_string(const char *c);
|
||||
extern void Swig_banner(DOHFile *f);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue