aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/classes.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2007-07-12 11:14:08 +0000
committerThomas Grill <xovo@users.sourceforge.net>2007-07-12 11:14:08 +0000
commit5215c890fc1a0b5edaab3c0331b9ff32eb8ad7cd (patch)
treeca8b27b2fc31014033dc6c086b0b332e50e58e75 /externals/grill/vasp/source/classes.h
parent09647a5d6298e5c5244b3d8e15616f95d00f6372 (diff)
updated usage examples
updated date! added Glenn Meader's example patcher resurrected help message functionality examples updates fixed broken help file names corrected help patches, added sound enhancer VC7 project files fixed help names svn path=/trunk/; revision=8040
Diffstat (limited to 'externals/grill/vasp/source/classes.h')
-rw-r--r--externals/grill/vasp/source/classes.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/vasp/source/classes.h b/externals/grill/vasp/source/classes.h
index 7ce64c74..9096b3f8 100644
--- a/externals/grill/vasp/source/classes.h
+++ b/externals/grill/vasp/source/classes.h
@@ -271,7 +271,7 @@ protected: \
} \
virtual V m_help() { post("%s - " help,thisName()); } \
}; \
-FLEXT_LIB(name ",vasp",vasp_##op)
+ FLEXT_LIB(name ", vasp_" #op,vasp_##op)
#define VASP_BINARY(name,op,to,def,help) \
@@ -290,7 +290,7 @@ protected: \
} \
virtual V m_help() { post("%s - " help,thisName()); } \
}; \
-FLEXT_LIB_V(name ",vasp",vasp_##op)
+FLEXT_LIB_V(name ", vasp_" #op,vasp_##op)
#define VASP_ANYOP(name,op,args,to,def,help) \
@@ -309,7 +309,10 @@ protected: \
} \
virtual V m_help() { post("%s - " help,thisName()); } \
}; \
-FLEXT_LIB_V(name ",vasp",vasp_##op)
+FLEXT_LIB_V(name ", vasp_" #op,vasp_##op)
+
+#define VASP_LIB(name,cl) FLEXT_LIB(name ", " #cl,cl);
+#define VASP_LIB_V(name,cl) FLEXT_LIB_V(name ", " #cl,cl);
#define VASP__SETUP(op) FLEXT_SETUP(vasp_##op);