https://github.com/halide/Halide
Raw File
Tip revision: 9c14ac9600256ee2f5015fd2cf0f59d567c4a048 authored by Alex Reinking on 25 January 2023, 05:54:00 UTC
Shrink diff, packaging fixes.
Tip revision: 9c14ac9
ios_io.cpp
#include "HalideRuntime.h"
#include "objc_support.h"

extern "C" {

WEAK void halide_default_print(void *user_context, const char *str) {
    void *pool = create_autorelease_pool();
    ns_log_utf8_string(str);
    drain_autorelease_pool(pool);
}

}  // extern "C"
back to top