CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
stconvert.h
1#pragma once
2
3#include "stype.h"
4
5// conversion handlers for built-in types
6
7// can be used by other handlers to chain to if they can convert to a generic type like int64 first
8
9bool stConvert_none(stype destst, stgeneric *dest, stype srcst, stgeneric src, uint32 flags);
10bool stConvert_bool(stype destst, stgeneric *dest, stype srcst, stgeneric src, uint32 flags);
11bool stConvert_int(stype destst, stgeneric *dest, stype srcst, stgeneric src, uint32 flags);
12bool stConvert_float32(stype destst, stgeneric *dest, stype srcst, stgeneric src, uint32 flags);
13bool stConvert_float64(stype destst, stgeneric *dest, stype srcst, stgeneric src, uint32 flags);
14bool stConvert_ptr(stype destst, stgeneric *dest, stype srcst, stgeneric src, uint32 flags);
Runtime type system and type descriptor infrastructure.