Fixed class variable declaration.

git-svn-id: http://igraph.rubyforge.org/svn/trunk@18 71f48855-0bbf-4aa5-930d-4df415e86613
This commit is contained in:
alexgutteridge 2007-07-13 04:52:16 +00:00
parent e908fb4815
commit c6f58349bf
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,10 @@
#include "ruby.h"
#include "cIGraph.h"
//Classes
VALUE cIGraph;
VALUE cIGraphError;
void cIGraph_free(void *p){
igraph_destroy(p);
}

View File

@ -1,6 +1,6 @@
//Classes
VALUE cIGraph;
VALUE cIGraphError;
extern VALUE cIGraph;
extern VALUE cIGraphError;
//Error and warning handling functions
void cIGraph_error_handler(const char *reason, const char *file,