
Untitled
By: a guest on
Jun 21st, 2012 | syntax:
None | size: 0.81 KB | hits: 11 | expires: Never
#include <malloc.h>
#include <iostream>
#include <stdio.h>
typedef struct Bitmap {
unsigned int* pixels;
unsigned int width;
unsigned int height;
unsigned int stride;
unsigned int pixelFormat;
};
typedef struct FeatherActionlistInput {
Bitmap *image;
wchar_t *actionlist;
char *resourceDir;
};
typedef struct FeatherActionlistOutput {
Bitmap *image;
wchar_t *log;
// 0 = ok, 1 = error
unsigned int status;
wchar_t *error;
};
extern "C"
{
__declspec(dllexport) FeatherActionlistOutput* FeatherActionlist(FeatherActionlistInput *input);
__declspec(dllexport) void FreeFeatherActionlistOutput(FeatherActionlistOutput*);
}
FeatherActionlistOutput* FeatherActionlist(FeatherActionlistInput *input)
{
}
void FreeFeatherActionlistOutput(FeatherActionlistOutput* output)
{
}