Sha256: 34209b10c54613254fc0200b85714f7135d4082515fbd55868027551413924ff

Contents?: true

Size: 867 Bytes

Versions: 17

Compression:

Stored size: 867 Bytes

Contents

#ifndef STRPTIME_H
#define STRPTIME_H 1

#include "ruby.h"
# ifndef HAVE_RB_TIME_TIMESPEC_NEW
VALUE rb_time_timespec_new(const struct timespec *ts, int offset);
# endif
struct tm * localtime_with_gmtoff_zone(const time_t *t, struct tm *result, long *gmtoff, const char **zone);
# ifndef HAVE_RB_TIMESPEC_NOW
void rb_timespec_now(struct timespec *ts);
# endif
time_t timegm_noleapsecond(struct tm *tm);
const char *find_time_t(struct tm *tptr, int utc_p, time_t *tp);
void tm_add_offset(struct tm *tm, long diff);
struct tm *rb_gmtime_r(const time_t *t, struct tm *result);
void Init_strftime(void);

#ifndef RB_INTEGER_TYPE_P
#define RB_INTEGER_TYPE_P(obj) rb_integer_type_p(obj)
static inline int
rb_integer_type_p(VALUE obj)
{
    return (FIXNUM_P(obj) ||
	    (!SPECIAL_CONST_P(obj) &&
	     BUILTIN_TYPE(obj) == RUBY_T_BIGNUM));
}
#endif

#endif /* STRPTIME_H */

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/strptime-0.2.5/ext/strptime/strptime.h
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/strptime-0.2.5/ext/strptime/strptime.h
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/strptime-0.2.5/ext/strptime/strptime.h
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/strptime-0.2.5/ext/strptime/strptime.h
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/strptime-0.2.5/ext/strptime/strptime.h
strptime-0.2.5 ext/strptime/strptime.h
strptime-0.2.4 ext/strptime/strptime.h
strptime-0.2.3 ext/strptime/strptime.h
strptime-0.2.2-x86-mingw32 ext/strptime/strptime.h
strptime-0.2.2-x64-mingw32 ext/strptime/strptime.h
strptime-0.2.2 ext/strptime/strptime.h
strptime-0.2.1-x86-mingw32 ext/strptime/strptime.h
strptime-0.2.1-x64-mingw32 ext/strptime/strptime.h
strptime-0.2.1 ext/strptime/strptime.h
strptime-0.2.0 ext/strptime/strptime.h
strptime-0.2.0.beta3 ext/strptime/strptime.h
strptime-0.2.0.beta2 ext/strptime/strptime.h