Skip to content

Instantly share code, notes, and snippets.

View sebastiangrail's full-sized avatar

Sebastian Grail sebastiangrail

  • Canva
  • Sydney, Australia
View GitHub Profile
@OdNairy
OdNairy / main.m
Last active December 21, 2015 00:28
// Source: https://devforums.apple.com/message/866487#866487
typedef int (*PYStdWriter)(void *, const char *, int);
static PYStdWriter _oldStdWrite;
int __pyStderrWrite(void *inFD, const char *buffer, int size)
{
if ( strncmp(buffer, "AssertMacros: queueEntry", 24) == 0 ) {
return 0;