hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
YoiIntAndIntObject Struct Reference

#include <time.h>

Static Public Member Functions

static void gc_refcount_decrease (YoiIntAndIntObject *obj)
 
static YoiIntAndIntObjectcreate (int64_t seconds, int64_t nanoseconds)
 

Public Attributes

unsigned long long gc_refcount
 
unsigned long long type_id
 
unsigned long long seconds
 
unsigned long long nanoseconds
 

Detailed Description

Definition at line 23 of file time.h.

Member Function Documentation

◆ create()

YoiIntAndIntObject * create ( int64_t  seconds,
int64_t  nanoseconds 
)
static

Definition at line 160 of file time.cpp.

References gc_refcount, nanoseconds, runtime_object_alloc(), and seconds.

Referenced by runtime_time_monotonic_now(), and runtime_time_now().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gc_refcount_decrease()

void gc_refcount_decrease ( YoiIntAndIntObject obj)
static

Definition at line 154 of file time.cpp.

References gc_refcount, and runtime_finalize_object().

Here is the call graph for this function:

Member Data Documentation

◆ gc_refcount

unsigned long long gc_refcount

Definition at line 24 of file time.h.

Referenced by create(), and gc_refcount_decrease().

◆ nanoseconds

unsigned long long nanoseconds

Definition at line 27 of file time.h.

Referenced by create().

◆ seconds

unsigned long long seconds

Definition at line 26 of file time.h.

Referenced by create().

◆ type_id

unsigned long long type_id

Definition at line 25 of file time.h.


The documentation for this struct was generated from the following files: