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
datadog-ruby_core_source-3.3.6 lib/datadog/ruby_core_source/ruby-3.4.0-preview2/ccan/str/str.h
datadog-ruby_core_source-3.3.6 lib/datadog/ruby_core_source/ruby-3.4.0-preview1/ccan/str/str.h
datadog-ruby_core_source-3.3.6 lib/datadog/ruby_core_source/ruby-3.3.5-p100/ccan/str/str.h
datadog-ruby_core_source-3.3.6 lib/datadog/ruby_core_source/ruby-3.3.0-p0/ccan/str/str.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-3.3.0-p0/ccan/str/str.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/str/str.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-3.4.0-preview1/ccan/str/str.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-3.3.5-p100/ccan/str/str.h
debase-ruby_core_source-3.3.5 lib/debase/ruby_core_source/ruby-3.3.0-p0/ccan/str/str.h
debase-ruby_core_source-3.3.5 lib/debase/ruby_core_source/ruby-3.4.0-preview1/ccan/str/str.h
debase-ruby_core_source-3.3.5 lib/debase/ruby_core_source/ruby-3.3.5-p100/ccan/str/str.h
debase-ruby_core_source-3.3.5 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
kanayago-0.1.1 ext/kanayago/ccan/str/str.h
kanayago-0.1.0 ext/kanayago/ccan/str/str.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-0.10.16/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/str/str.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-3.3.0-p0/ccan/str/str.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-3.3.0-p0/ccan/str/str.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-3.2.0-p0/ccan/str/str.h