#include #include int main(void) { printf("PXObject autorelease test\n"); @autoreleasepool { PXObject *object = [PXObject new]; printf("created object in autorelease pool\n"); #ifdef PARADOX_DEBUG_FEATURES printf("attempting healthCheck\n"); [object healthCheck]; #else printf("Paradox compiled without debug features, skipping healthCheck\n"); /* suppress unused variable warning */ (void)object; #endif } printf("autorelease pool end\n"); printf("test complete\n"); }