dkproto.h File Reference

Define DK_Px macros. More...

#include <dkconfig.h>

Go to the source code of this file.

Defines

#define DK_PR(arg)   arg
 Prototype for functions in headers.
#define DK_P0()   (void)
 Prototype for functions using no arguments.
#define DK_P1(a, b)   (a b)
 Prototype for functions using 1 argument.
#define DK_P2(a, b, c, d)   (a b, c d)
 Prototype for functions using 2 arguments.
#define DK_P3(a, b, c, d, e, f)   (a b, c d, e f)
 Prototype for functions using 3 arguments.
#define DK_P4(a, b, c, d, e, f, g, h)   (a b, c d, e f, g h)
 Prototype for functions using 4 arguments.
#define DK_P5(a, b, c, d, e, f, g, h, i, j)   (a b, c d, e f, g h, i j)
 Prototype for functions using 5 arguments.
#define DK_P6(a, b, c, d, e, f, g, h, i, j, k, l)   (a b, c d, e f, g h, i j, k l)
 Prototype for functions using 6 arguments.
#define DK_P7(a, b, c, d, e, f, g, h, i, j, k, l, m, n)   (a b, c d, e f, g h, i j, k l, m n)
 Prototype for functions using 7 arguments.
#define DK_P8(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)   (a b, c d, e f, g h, i j, k l, m n, o p)
 Prototype for functions using 8 arguments.
#define DK_P9(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)   (a b, c d, e f, g h, i j, k l, m n, o p, q r)
 Prototype for functions using 9 arguments.
#define DK_P10(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)   (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t)
 Prototype for functions using 10 arguments.
#define DK_P11(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v)   (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t, u v)
 Prototype for functions using 11 arguments.
#define DK_P12(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x)   (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t, u v, w x)
 Prototype for functions using 12 arguments.
#define DK_P13(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z)   (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t, u v, w x, y z)
 Prototype for functions using 13 arguments.


Detailed Description

Define DK_Px macros.

Define DK_Px macros to use either prototypes or K+R style function declarations.

The DK_HAVE_PROTOTYPES constant is used to choose prototypes or K+R style declarations.


Define Documentation

 
#define DK_P0 (  )     (void)

Prototype for functions using no arguments.

#define DK_P1 ( a,
 )     (a b)

Prototype for functions using 1 argument.

#define DK_P10 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p,
q,
r,
s,
 )     (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t)

Prototype for functions using 10 arguments.

#define DK_P11 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p,
q,
r,
s,
t,
u,
 )     (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t, u v)

Prototype for functions using 11 arguments.

#define DK_P12 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p,
q,
r,
s,
t,
u,
v,
w,
 )     (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t, u v, w x)

Prototype for functions using 12 arguments.

#define DK_P13 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p,
q,
r,
s,
t,
u,
v,
w,
x,
y,
 )     (a b, c d, e f, g h, i j, k l, m n, o p, q r, s t, u v, w x, y z)

Prototype for functions using 13 arguments.

#define DK_P2 ( a,
b,
c,
 )     (a b, c d)

Prototype for functions using 2 arguments.

#define DK_P3 ( a,
b,
c,
d,
e,
 )     (a b, c d, e f)

Prototype for functions using 3 arguments.

#define DK_P4 ( a,
b,
c,
d,
e,
f,
g,
 )     (a b, c d, e f, g h)

Prototype for functions using 4 arguments.

#define DK_P5 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
 )     (a b, c d, e f, g h, i j)

Prototype for functions using 5 arguments.

#define DK_P6 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
 )     (a b, c d, e f, g h, i j, k l)

Prototype for functions using 6 arguments.

#define DK_P7 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
 )     (a b, c d, e f, g h, i j, k l, m n)

Prototype for functions using 7 arguments.

#define DK_P8 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
 )     (a b, c d, e f, g h, i j, k l, m n, o p)

Prototype for functions using 8 arguments.

#define DK_P9 ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p,
q,
 )     (a b, c d, e f, g h, i j, k l, m n, o p, q r)

Prototype for functions using 9 arguments.

#define DK_PR ( arg   )     arg

Prototype for functions in headers.


Generated on Mon Feb 16 17:12:04 2009 for dklibs by  doxygen 1.5.6