]> khamidou — GitHub mirrors - te.git/commitdiff
finished expunging python
authorkhamidou <karim@lambda-expr.org>
Tue, 17 Nov 2009 20:37:30 +0000 (21:37 +0100)
committerkhamidou <karim@lambda-expr.org>
Tue, 17 Nov 2009 20:37:30 +0000 (21:37 +0100)
buffer.c
buffer.h
main.c

index a942b4c9c60921a127cdaca078a1727dc0a07853..4947fe0de4af47f013de1a9ac065a08fe5296af7 100644 (file)
--- 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;
 }
 
index e67b5ca99ee9478b3e64de10508a45e4593e8adf..974b96a4f9b7bf9892fde20bf16c6926f5845e9b 100644 (file)
--- a/buffer.h
+++ b/buffer.h
@@ -2,9 +2,7 @@
 #define __BUFFER_H__
 
 #include <stdio.h>
-#include <Python.h>
-#include <structmember.h>
-//#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 66460acc0cfeb6adff856fbf2ea449a14bc0b69a..a3c174edf0397ed4a1d56a9f1b945e24d0cbb01d 100644 (file)
--- 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();