X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/0fe905920f850129bc4b2b869d68d22bc6d568dc..a14eb7025a69e6ed6fab72d4bb4eb8ed24cfff1f:/Library.cpp diff --git a/Library.cpp b/Library.cpp index 0a8508e..2289e37 100644 --- a/Library.cpp +++ b/Library.cpp @@ -816,8 +816,7 @@ JSValueRef CYFromFFI(JSContextRef context, sig::Type *type, ffi_type *ffi, void if (JSValueRef value = (*hooks_->FromFFI)(context, type, ffi, data, initialize, owner)) return value; - fprintf(stderr, "CYFromFFI(%c)\n", type->primitive); - _assert(false); + CYThrow("failed conversion from FFI format: '%c'\n", type->primitive); } }