https://github.com/halide/Halide
Raw File
Tip revision: a21837ff1e085f22ef380c65847202d7917950e7 authored by Steven Johnson on 06 February 2021, 00:10:51 UTC
Merge branch 'master' into srj/msan-dtf
Tip revision: a21837f
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