Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
sprintf.h
Go to the documentation of this file.
1#ifndef RBIMPL_INTERN_SPRINTF_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_INTERN_SPRINTF_H
25#include "ruby/internal/value.h"
26
28
29/* sprintf.c */
31
33VALUE rb_sprintf(const char*, ...);
34VALUE rb_vsprintf(const char*, va_list);
35
37VALUE rb_str_catf(VALUE, const char*, ...);
38VALUE rb_str_vcatf(VALUE, const char*, va_list);
40
42
43#endif /* RBIMPL_INTERN_SPRINTF_H */
Tewaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
Defines RBIMPL_ATTR_FORMAT.
#define RBIMPL_PRINTF_FORMAT
Definition: format.h:35
#define RBIMPL_ATTR_FORMAT(x, y, z)
Wraps (or simulates) __attribute__((format))
Definition: format.h:29
VALUE rb_vsprintf(const char *, va_list)
Definition: sprintf.c:1197
VALUE rb_str_vcatf(VALUE, const char *, va_list)
Definition: sprintf.c:1216
VALUE rb_str_format(int, const VALUE *, VALUE)
Definition: sprintf.c:214
VALUE rb_str_catf(VALUE, const char *,...)
Definition: sprintf.c:1243
VALUE rb_f_sprintf(int, const VALUE *)
Definition: sprintf.c:208
VALUE rb_sprintf(const char *,...)
Definition: sprintf.c:1203
#define const
Definition: strftime.c:108
Defines VALUE and ID.
unsigned long VALUE
Definition: value.h:38