codex
Loading...
Searching...
No Matches
std3.c File Reference

Macros

#define str(s)   # s
 
#define xstr(s)   str(s)
 
#define debug(s, t)
 
#define INCFILE(n)   vers ## n
 
#define glue(a, b)   a ## b
 
#define xglue(a, b)   glue(a, b)
 
#define HIGHLOW   "hello"
 
#define LOW   LOW ", world"
 

Functions

 debug (1, 2)
 
 fputs (str(strncmp("abc\0d", "abc", ’\4’)==0) str(:@\n), s)
 
 glue (HIGH, LOW)
 

Macro Definition Documentation

◆ debug

#define debug ( s,
t )
Value:
printf("x" # s "= %d, x" # t "= %s", \
x ## s, x ## t)
printf("x" "1" "= %d, x" "2" "= %s", x1, x2)
#define x
Definition gcc14.c:1
#define t(a)
Definition std2.c:10
constexpr fixed_string s
Definition test.cpp:6

◆ glue

#define glue ( a,
b )   a ## b

◆ HIGHLOW

#define HIGHLOW   "hello"

◆ INCFILE

#define INCFILE ( n)    vers ## n

◆ LOW

#define LOW   LOW ", world"

◆ str

#define str ( s)    # s

◆ xglue

#define xglue ( a,
b )   glue(a, b)

◆ xstr

#define xstr ( s)    str(s)

Function Documentation

◆ debug()

debug ( 1 ,
2  )

◆ fputs()

fputs ( str(strncmp("abc\0d", "abc", ’\4’)==0) str(:@\n) ,
s  )

◆ glue()

glue ( HIGH ,
LOW  )