Created
May 5, 2013 04:23
-
-
Save ecere/5519686 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
typedef uint64_t uint64; | |
typedef unsigned int uintsize; | |
struct Class; | |
typedef struct Class * Class; | |
typedef unsigned int bool; | |
static char * UInt64Hex_OnGetString(Class _class, uint64 * data, char * string, void * fieldData, bool * needClass) | |
{ | |
return NULL; | |
} | |
static char * UIntegerHex_OnGetString(Class _class, unsigned int * data, char * string, void * fieldData, bool * needClass) | |
{ | |
return NULL; | |
} | |
char * TestStuff() | |
{ | |
return (sizeof(uintsize) == 8 ? UInt64Hex_OnGetString : UIntegerHex_OnGetString)(0, 0, 0, 0, 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment