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
9CX_C_BEGIN
10
11bool stConvert_none(stype destst, stgeneric* dest, stype srcst, stgeneric src, uint32 flags);
12bool stConvert_bool(stype destst, stgeneric* dest, stype srcst, stgeneric src, uint32 flags);
13bool stConvert_int(stype destst, stgeneric* dest, stype srcst, stgeneric src, uint32 flags);
14bool stConvert_float32(stype destst, stgeneric* dest, stype srcst, stgeneric src, uint32 flags);
15bool stConvert_float64(stype destst, stgeneric* dest, stype srcst, stgeneric src, uint32 flags);
16bool stConvert_ptr(stype destst, stgeneric* dest, stype srcst, stgeneric src, uint32 flags);
17
18CX_C_END
Runtime type system and type descriptor infrastructure.