This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Address { | |
char * town; | |
}; | |
struct Person { | |
struct Address * address; | |
char * name; | |
}; | |
static VALUE wrap_person_get_address(VALUE self) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LIB=/home/matej/.rvm/rubies/ruby-1.9.2-p290/lib | |
INC=/home/matej/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ | |
CFLAGS=-I$(INC) -I/home/matej/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux/ -g | |
LDFLAGS=-L$(LIB) -ldl -lruby1.9 | |
embed2: embed2.o | |
$(CC) -o embed2 embed2.o $(LDFLAGS) |
NewerOlder