From: khamidou Date: Tue, 17 Nov 2009 20:37:30 +0000 (+0100) Subject: finished expunging python X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=42402f0c8306ec9ea9155890984e13e89c2abf8b;p=te.git finished expunging python --- diff --git a/buffer.c b/buffer.c index a942b4c..4947fe0 100644 --- a/buffer.c +++ b/buffer.c @@ -26,7 +26,6 @@ struct te_buffer *alloc_and_insert_buffer(void) b->point = 0; b->top_char = 0; - init_python_buffer(b); return b; } diff --git a/buffer.h b/buffer.h index e67b5ca..974b96a 100644 --- a/buffer.h +++ b/buffer.h @@ -2,9 +2,7 @@ #define __BUFFER_H__ #include -#include -#include -//#include "interp.h" +#include "interp.h" #include "bstrlib.h" #include "queue.h" #include "config.h" @@ -19,7 +17,6 @@ struct te_buffer { bstring contents; int point; /* offset in "contents" */ int top_char; /* the position of the char at the top of the screen */ - struct python_te_buffer *pyBuffer; /* pointer to hte python object representing this buffer */ TAILQ_ENTRY(te_buffer) buffers; }; diff --git a/main.c b/main.c index 66460ac..a3c174e 100644 --- a/main.c +++ b/main.c @@ -25,7 +25,6 @@ int main(int argc, char **argv) load_buffer("main.c"); paint_buffer(current_buf); - run_python_script("te_test"); refresh(); input_loop();