Serene Runtime 1.0.0
C runtime for the Serene programming language
Loading...
Searching...
No Matches
numbers.h File Reference
#include "serene/rt/core.h"
#include "serene/utils.h"
Include dependency graph for numbers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static srn_value_tsrn_make_i64 (srn_context_t *ctx, srn_metadata_t *metadata, int64_t x)
 

Function Documentation

◆ srn_make_i64()

static srn_value_t * srn_make_i64 ( srn_context_t * ctx,
srn_metadata_t * metadata,
int64_t x )
inlinestatic

Definition at line 24 of file numbers.h.

25 {
26 return srn_value_make(ctx, VI64, metadata, (void *)&x);
27}
srn_value_t * srn_value_make(srn_context_t *ctx, srn_value_tag_t tag, srn_metadata_t *metadata, void *payload)
Creates a new serene value.
Definition core.c:24
@ VI64
Definition core.h:116
Here is the call graph for this function:
Here is the caller graph for this function: