Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.331 kb
#include <stdio.h>
#ifdef WIN32
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT extern
#endif
DLLEXPORT void * ReturnSomePointer()
{
char *x = "ok 1 - Got passed back the pointer I returned";
return x;
}
DLLEXPORT void TakeSomePointer(void *ptr)
{
printf("%s\n", (char *) ptr);
fflush(stdout);
}
Jump to Line
Something went wrong with that request. Please try again.