libpulsar
A modular compiler for the pulsar programming language
Loading...
Searching...
No Matches
Functions
itoa.h File Reference

Conversion from integers to strings. More...

#include "def.h"

Go to the source code of this file.

Functions

STR ps_itoa (int v)
 Returns a read-only string of the digits of v.
 
STR ps_ztoa (usize v)
 Returns a read-only string of the digits of v.
 

Detailed Description

Conversion from integers to strings.

Author
Ethan Uppal

Definition in file itoa.h.

Function Documentation

◆ ps_itoa()

STR ps_itoa ( int  v)

Returns a read-only string of the digits of v.

This string is always invalidated upon a subsequent call to ps_itoa.

Definition at line 21 of file itoa.c.

◆ ps_ztoa()

STR ps_ztoa ( usize  v)

Returns a read-only string of the digits of v.

This string is always invalidated upon a subsequent call to ps_ztoa.

Definition at line 40 of file itoa.c.