File: foos.c

package info (click to toggle)
opari 1.1%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 720 kB
  • sloc: cpp: 2,005; ansic: 901; f90: 252; makefile: 130; sh: 86; fortran: 50
file content (14 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

void   foo()   { puts("#define FSUB(name) name"); }
void   foo_()  { puts("#define FSUB(name) SUFFIX(name)"); }
void   foo__() { puts("#define FSUB(name) SUFFIX2(name)"); }
void  _foo()   { puts("#define FSUB(name) PREFIX(name)"); }
void __foo()   { puts("#define FSUB(name) PREFIX2(name)"); }
void  _foo_()  { puts("#define FSUB(name) PREFIX(SUFFIX(name))"); }
void   FOO()   { puts("#define FSUB(name) UPCASE(name)"); }
void   FOO_()  { puts("#define FSUB(name) SUFFIX(UPCASE(name))"); }
void   FOO__() { puts("#define FSUB(name) SUFFIX2(UPCASE(name))"); }
void  _FOO()   { puts("#define FSUB(name) PREFIX(UPCASE(name))"); }
void __FOO()   { puts("#define FSUB(name) PREFIX2(UPCASE(name))"); }
void  _FOO_()  { puts("#define FSUB(name) PREFIX(SUFFIX(UPCASE(name)))"); }