#if defined(__linux__)
#define _GNU_SOURCE
#endif
#include "../cmake/postject/postject-api.h"
#include "./postjectee.h"
const void *postjectee_find_resource(const char *name, size_t *size,
postjectee_options options) {
struct postject_options postject_options;
postject_options.elf_section_name = options.elf_section_name;
postject_options.macho_framework_name = NULL;
postject_options.macho_section_name = options.macho_section_name;
postject_options.macho_segment_name = options.macho_segment_name;
postject_options.pe_resource_name = options.pe_resource_name;
return postject_find_resource(name, size, &postject_options);
}