Skip to content

Instantly share code, notes, and snippets.

@Mon-Ouie
Created July 4, 2015 13:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mon-Ouie/36954e5d46e86cc00676 to your computer and use it in GitHub Desktop.
Save Mon-Ouie/36954e5d46e86cc00676 to your computer and use it in GitHub Desktop.
#include <stdio.h>
//; def int(*args); end
//; def main(*args, &block);
//; Object.class_eval { define_method("foo", &block) }; foo; end
//; def argc; end
//; def char; 3; end
//; def argv; 3; end
int main(int argc, char ** argv) {
printf("Hello world!\n");
return 0;
}
@banister
Copy link

banister commented Aug 2, 2015

@Mon-Ouie what's this about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment