pike.git/
src/
svalue.h
Branch:
Tag:
Non-build tags
All tags
No tags
2007-10-02
2007-10-02 12:39:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>
4835dae85925351f8ebe4927f205bab2fe4e433d (
8
lines) (+
7
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added some convenience macros for common type attributes.
Rev: src/svalue.h:1.147
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: svalue.h,v 1.
146
2007/
06
/
09
18
:
02
:
14
mast
Exp $
+
|| $Id: svalue.h,v 1.
147
2007/
10
/
02
12
:
39
:
57
grubba
Exp $
*/ #ifndef SVALUE_H
251:
#define tName2(X,Y) "\361\2"X"\0\0\0\0"Y #endif /* PIKE_BYTEORDER == 1234 */
+
/* Some convenience macros for common attributes. */
+
#define tSprintfFormat(X) tAttr("sprintf_format", X)
+
#define tSprintfArgs(X) tAttr("sprintf_args", X)
+
#define tDeprecated(X) tAttr("deprecated", X)
+
#define tSimpleCallable tOr3(tArray,tFunction,tObj) #define tCallable tOr3(tArr(tSimpleCallable),tFunction,tObj)