Skip to content

Instantly share code, notes, and snippets.

View matejuh's full-sized avatar
😅
QNG performance

Matej Plch matejuh

😅
QNG performance
View GitHub Profile
@matejuh
matejuh / embed.c
Created January 20, 2012 09:33 — forked from mattwildig/embed.c
Wrapping struct
/*
N.B. this program doesn't include any error checking. In particular you'll have
to do all the rb_protect stuff
*/
#include <stdio.h>
#include "ruby.h"
struct Address {
char * town;