Ruby: internal/time.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions
time.h File Reference

Internal header for Time. More...

`#include "ruby/internal/config.h"`
`#include "internal/bits.h"`
`#include "ruby/ruby.h"`

Go to the source code of this file.

## Functions
struct timeval | rb_time_timeval (VALUE)
void | ruby_reset_leap_second_info (void)
void | ruby_reset_timezone (void)

## Detailed Description

Internal header for Time.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file time.h.

## Function Documentation

## ◆ rb_time_timeval()

struct timeval rb_time_timeval | ( | VALUE | time | ) |

Definition at line 2690 of file time.c.

## ◆ ruby_reset_leap_second_info()

void ruby_reset_leap_second_info | ( | void |  | ) |

Definition at line 1201 of file time.c.

Referenced by ruby_reset_timezone().

## ◆ ruby_reset_timezone()

void ruby_reset_timezone | ( | void |  | ) |

Definition at line 678 of file time.c.

References ruby_reset_leap_second_info(), and ruby_tz_uptodate_p.