https://github.com/halide/Halide
Raw File
Tip revision: 01fc0a0188917e90d9ce3de022f59a341848c04b authored by Andrew Adams on 21 February 2023, 17:03:23 UTC
Fix handling of strides other than one
Tip revision: 01fc0a0
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