VirtualComputer/libpxc/pxc.c
NorbiPeti cc7cd15efa
Test lib with makefile
640*480*4 bytes are a lot to process one-by-one
2018-11-14 19:15:58 +01:00

19 lines
419 B
C

#include <stdio.h>
int convert(int px[], int *out[]) {
printf("convert...\n");
return 0;
}
void __attribute__ ((constructor)) initLibrary(void) {
//
// Function that is called when the library is loaded
//
printf("Library is initialized\n");
}
void __attribute__ ((destructor)) cleanUpLibrary(void) {
//
// Function that is called when the library is »closed«.
//
printf("Library is exited\n");
}