Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/alt/ruby27/include/ruby
File: util.h
/**********************************************************************
[0] Fix | Delete
[1] Fix | Delete
util.h -
[2] Fix | Delete
[3] Fix | Delete
$Author$
[4] Fix | Delete
created at: Thu Mar 9 11:55:53 JST 1995
[5] Fix | Delete
[6] Fix | Delete
Copyright (C) 1993-2007 Yukihiro Matsumoto
[7] Fix | Delete
[8] Fix | Delete
**********************************************************************/
[9] Fix | Delete
[10] Fix | Delete
#ifndef RUBY_UTIL_H
[11] Fix | Delete
#define RUBY_UTIL_H 1
[12] Fix | Delete
[13] Fix | Delete
#if defined(__cplusplus)
[14] Fix | Delete
extern "C" {
[15] Fix | Delete
#if 0
[16] Fix | Delete
} /* satisfy cc-mode */
[17] Fix | Delete
#endif
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
#include "ruby/defines.h"
[21] Fix | Delete
#ifdef RUBY_EXTCONF_H
[22] Fix | Delete
#include RUBY_EXTCONF_H
[23] Fix | Delete
#endif
[24] Fix | Delete
[25] Fix | Delete
#ifndef _
[26] Fix | Delete
#ifdef __cplusplus
[27] Fix | Delete
# ifndef HAVE_PROTOTYPES
[28] Fix | Delete
# define HAVE_PROTOTYPES 1
[29] Fix | Delete
# endif
[30] Fix | Delete
# ifndef HAVE_STDARG_PROTOTYPES
[31] Fix | Delete
# define HAVE_STDARG_PROTOTYPES 1
[32] Fix | Delete
# endif
[33] Fix | Delete
#endif
[34] Fix | Delete
#ifdef HAVE_PROTOTYPES
[35] Fix | Delete
# define _(args) args
[36] Fix | Delete
#else
[37] Fix | Delete
# define _(args) ()
[38] Fix | Delete
#endif
[39] Fix | Delete
#ifdef HAVE_STDARG_PROTOTYPES
[40] Fix | Delete
# define __(args) args
[41] Fix | Delete
#else
[42] Fix | Delete
# define __(args) ()
[43] Fix | Delete
#endif
[44] Fix | Delete
#endif
[45] Fix | Delete
[46] Fix | Delete
RUBY_SYMBOL_EXPORT_BEGIN
[47] Fix | Delete
[48] Fix | Delete
#define DECIMAL_SIZE_OF_BITS(n) (((n) * 3010 + 9998) / 9999)
[49] Fix | Delete
/* an approximation of ceil(n * log10(2)), up to 65536 at least */
[50] Fix | Delete
[51] Fix | Delete
#define scan_oct(s,l,e) ((int)ruby_scan_oct((s),(l),(e)))
[52] Fix | Delete
unsigned long ruby_scan_oct(const char *, size_t, size_t *);
[53] Fix | Delete
#define scan_hex(s,l,e) ((int)ruby_scan_hex((s),(l),(e)))
[54] Fix | Delete
unsigned long ruby_scan_hex(const char *, size_t, size_t *);
[55] Fix | Delete
[56] Fix | Delete
#ifdef HAVE_GNU_QSORT_R
[57] Fix | Delete
# define ruby_qsort qsort_r
[58] Fix | Delete
#else
[59] Fix | Delete
void ruby_qsort(void *, const size_t, const size_t,
[60] Fix | Delete
int (*)(const void *, const void *, void *), void *);
[61] Fix | Delete
#endif
[62] Fix | Delete
[63] Fix | Delete
void ruby_setenv(const char *, const char *);
[64] Fix | Delete
void ruby_unsetenv(const char *);
[65] Fix | Delete
[66] Fix | Delete
char *ruby_strdup(const char *);
[67] Fix | Delete
#undef strdup
[68] Fix | Delete
#define strdup(s) ruby_strdup(s)
[69] Fix | Delete
[70] Fix | Delete
char *ruby_getcwd(void);
[71] Fix | Delete
[72] Fix | Delete
double ruby_strtod(const char *, char **);
[73] Fix | Delete
#undef strtod
[74] Fix | Delete
#define strtod(s,e) ruby_strtod((s),(e))
[75] Fix | Delete
[76] Fix | Delete
void ruby_each_words(const char *, void (*)(const char*, int, void*), void *);
[77] Fix | Delete
[78] Fix | Delete
RUBY_SYMBOL_EXPORT_END
[79] Fix | Delete
[80] Fix | Delete
#if defined(__cplusplus)
[81] Fix | Delete
#if 0
[82] Fix | Delete
{ /* satisfy cc-mode */
[83] Fix | Delete
#endif
[84] Fix | Delete
} /* extern "C" { */
[85] Fix | Delete
#endif
[86] Fix | Delete
[87] Fix | Delete
#endif /* RUBY_UTIL_H */
[88] Fix | Delete
[89] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function