Version simplification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4916ec684c
commit
15570fa498
2 changed files with 6 additions and 8 deletions
|
|
@ -179,8 +179,8 @@ void exit_handler(FILE *f) {
|
||||||
static void display(FILE *f, Node *n) {
|
static void display(FILE *f, Node *n) {
|
||||||
/* Print standard HTML header */
|
/* Print standard HTML header */
|
||||||
|
|
||||||
Printf(f,"<HTML><HEAD><TITLE>SWIG-%s</TITLE></HEAD><BODY BGCOLOR=\"#ffffff\">\n", SWIG_VERSION);
|
Printf(f,"<HTML><HEAD><TITLE>SWIG-%s</TITLE></HEAD><BODY BGCOLOR=\"#ffffff\">\n", PACKAGE_VERSION);
|
||||||
Printf(f,"<b>SWIG-%s</b><br>\n", SWIG_VERSION);
|
Printf(f,"<b>SWIG-%s</b><br>\n", PACKAGE_VERSION);
|
||||||
Printf(f,"[ <a href=\"exit.html\">Exit</a> ]");
|
Printf(f,"[ <a href=\"exit.html\">Exit</a> ]");
|
||||||
Printf(f," [ <a href=\"index.html?node=0x%x\">Top</a> ]", tree_top);
|
Printf(f," [ <a href=\"index.html?node=0x%x\">Top</a> ]", tree_top);
|
||||||
if (n != tree_top) {
|
if (n != tree_top) {
|
||||||
|
|
@ -295,8 +295,8 @@ void data_handler(FILE *f) {
|
||||||
if (!swill_getargs("p(n)", &n)) {
|
if (!swill_getargs("p(n)", &n)) {
|
||||||
n = 0;
|
n = 0;
|
||||||
}
|
}
|
||||||
Printf(f,"<HTML><HEAD><TITLE>SWIG-%s</TITLE></HEAD><BODY BGCOLOR=\"#ffffff\">\n", SWIG_VERSION);
|
Printf(f,"<HTML><HEAD><TITLE>SWIG-%s</TITLE></HEAD><BODY BGCOLOR=\"#ffffff\">\n", PACKAGE_VERSION);
|
||||||
Printf(f,"<b>SWIG-%s</b><br>\n", SWIG_VERSION);
|
Printf(f,"<b>SWIG-%s</b><br>\n", PACKAGE_VERSION);
|
||||||
Printf(f,"[ <a href=\"exit.html\">Exit</a> ]");
|
Printf(f,"[ <a href=\"exit.html\">Exit</a> ]");
|
||||||
Printf(f," [ <a href=\"index.html?node=0x%x\">Top</a> ]", tree_top);
|
Printf(f," [ <a href=\"index.html?node=0x%x\">Top</a> ]", tree_top);
|
||||||
Printf(f,"<br><hr><p>\n");
|
Printf(f,"<br><hr><p>\n");
|
||||||
|
|
@ -311,8 +311,8 @@ void symbol_handler(FILE *f) {
|
||||||
Symtab *sym;
|
Symtab *sym;
|
||||||
char *name = 0;
|
char *name = 0;
|
||||||
|
|
||||||
Printf(f,"<HTML><HEAD><TITLE>SWIG-%s</TITLE></HEAD><BODY BGCOLOR=\"#ffffff\">\n", SWIG_VERSION);
|
Printf(f,"<HTML><HEAD><TITLE>SWIG-%s</TITLE></HEAD><BODY BGCOLOR=\"#ffffff\">\n", PACKAGE_VERSION);
|
||||||
Printf(f,"<b>SWIG-%s</b><br>\n", SWIG_VERSION);
|
Printf(f,"<b>SWIG-%s</b><br>\n", PACKAGE_VERSION);
|
||||||
Printf(f,"[ <a href=\"exit.html\">Exit</a> ]");
|
Printf(f,"[ <a href=\"exit.html\">Exit</a> ]");
|
||||||
Printf(f," [ <a href=\"index.html?node=0x%x\">Top</a> ]", tree_top);
|
Printf(f," [ <a href=\"index.html?node=0x%x\">Top</a> ]", tree_top);
|
||||||
Printf(f," [ <a href=\"symbol.html\">Symbols</a> ]");
|
Printf(f," [ <a href=\"symbol.html\">Symbols</a> ]");
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "swigver.h"
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "swig.h"
|
#include "swig.h"
|
||||||
extern Hash *Preprocessor_define(const String_or_char *str, int swigmacro);
|
extern Hash *Preprocessor_define(const String_or_char *str, int swigmacro);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue