Quick actions

cmd+k|ctrl+k

Navigation

Languages

VARTYPE

Snippet info

Language

C

Visibility

public

Author

evine

Created

2016-04-29T12:30:18Z

Updated

2016-04-29T15:12:55Z

#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>

#define CONCAT_(a, b) a##b
#define CONCAT(a, b) CONCAT_(a, b)

typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;

typedef char s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;

typedef bool b8;

typedef float f32;
typedef double f64;

#define VARTYPE s8
#define VARTYPENAME s8
#include "dio.c"
#undef VARTYPE
#undef VARTYPENAME

#define VARTYPE s16
#define VARTYPENAME s16
#include "dio.c"
#undef VARTYPE
#undef VARTYPENAME

#define VARTYPE s32
#define VARTYPENAME s32
#include "dio.c"
#undef VARTYPE
#undef VARTYPENAME

#define VARTYPE s64
#define VARTYPENAME s64
#include "dio.c"
#undef VARTYPE
#undef VARTYPENAME

#define VARTYPE f32
#define VARTYPENAME f32
#include "dio.c"
#undef VARTYPE
#undef VARTYPENAME

#define VARTYPE f64
#define VARTYPENAME f64
#include "dio.c"
#undef VARTYPE
#undef VARTYPENAME


#define VARTYPE s8 *
#define VARTYPENAME s8ptr
#include "dio.c"
#undef VARTYPE
#undef VARTYPENAME


int main()
{
    v3f32 Twer;
    v3f64 Raiy;
    
    v3s8ptr Tea;
    
    printf("Hello World!\n");
    return 0;
}
INFO