Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 358 Bytes
#include <stdio.h>
#ifdef WIN32
#define DLLEXPORT __declspec(dllexport)
#define DLLEXPORT extern
DLLEXPORT void * ReturnSomePointer()
char *x = "Got passed back the pointer I returned";
return x;
DLLEXPORT int CompareSomePointer(void *ptr)
int x = strcmp("Got passed back the pointer I returned", ptr) == 0;
return x;
Something went wrong with that request. Please try again.