18#ifndef _FL_fl_casts_H_
19#define _FL_fl_casts_H_
23inline char fl_char(
void *v) {
return (
char)(
fl_intptr_t)v; }
24inline int fl_int(
void *v) {
return (
int)(
fl_intptr_t)v; }
25inline long fl_long(
void *v) {
return (
long)(
fl_intptr_t)v; }
27inline unsigned char fl_uchar(
void *v) {
return (
unsigned char)(
fl_uintptr_t)v; }
28inline unsigned int fl_uint(
void *v) {
return (
unsigned int)(
fl_uintptr_t)v; }
29inline unsigned long fl_ulong(
void *v) {
return (
unsigned long)(
fl_uintptr_t)v; }
34inline void *fl_voidptr(
int v) {
return (
void *)(
fl_intptr_t)v; }
35inline void *fl_voidptr(
unsigned int v) {
return (
void *)(
fl_uintptr_t)v; }
36inline void *fl_voidptr(
long v) {
return (
void *)(
fl_intptr_t)v; }
37inline void *fl_voidptr(
unsigned long v) {
return (
void *)(
fl_uintptr_t)v; }