Sha256: 2142794aa696e41a99eae8708e0371b9d6e8acd9a069ac30473cc38ce5b54eb8

Contents?: true

Size: 533 Bytes

Versions: 36

Compression:

Stored size: 533 Bytes

Contents

/* CC0 (Public domain) - see ccan/licenses/CC0 file for details */
#ifndef CCAN_STR_H
#define CCAN_STR_H
/**
 * ccan_stringify - Turn expression into a string literal
 * @expr: any C expression
 *
 * Example:
 *	#define PRINT_COND_IF_FALSE(cond) \
 *		((cond) || printf("%s is false!", ccan_stringify(cond)))
 */
#define stringify(expr)		ccan_stringify_1(expr)
#define ccan_stringify(expr)	ccan_stringify_1(expr)
/* Double-indirection required to stringify expansions */
#define ccan_stringify_1(expr)	#expr

#endif /* CCAN_STR_H */

Version data entries

36 entries across 16 versions & 4 rubygems

Version Path
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-3.3.0-p0/ccan/str/str.h
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
debase-ruby_core_source-3.2.3 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
debase-ruby_core_source-3.2.3 lib/debase/ruby_core_source/ruby-3.3.0-preview3/ccan/str/str.h
debase-ruby_core_source-3.2.2 lib/debase/ruby_core_source/ruby-3.3.0-preview2/ccan/str/str.h
debase-ruby_core_source-3.2.2 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
debase-ruby_core_source-3.2.1 lib/debase/ruby_core_source/ruby-3.3.0-preview1/ccan/str/str.h
debase-ruby_core_source-3.2.1 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
debase-ruby_core_source-3.2.0 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
debase-ruby_core_source-0.10.18 lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/str/str.h
debase-ruby_core_source-0.10.18 lib/debase/ruby_core_source/ruby-3.2.0-preview3/ccan/str/str.h
debase-ruby_core_source-0.10.18 lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/str/str.h
debase-ruby_core_source-0.10.17 lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/str/str.h
debase-ruby_core_source-0.10.17 lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/str/str.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/str/str.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/str/str.h