summaryrefslogtreecommitdiffstats
path: root/win32caml/editbuffer.h
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2012-03-24 10:37:53 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2012-03-24 10:37:53 +0000
commitaf3cafad2530859228dee0ce3c439132065ad1ab (patch)
tree85748bac9eac638ec4352a5a3b6a300745f40a0d /win32caml/editbuffer.h
parent0e4baac4cc2fd9c529225265333c0abecb6c9fb1 (diff)
Splitting off the win32caml/ subdirectory (the simplistic Win32 UI for the toplevel). It now lives at https://forge.ocamlcore.org/projects/ocamltopwin/
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12268 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'win32caml/editbuffer.h')
-rw-r--r--win32caml/editbuffer.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/win32caml/editbuffer.h b/win32caml/editbuffer.h
deleted file mode 100644
index add99b2ee..000000000
--- a/win32caml/editbuffer.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/***********************************************************************/
-/* */
-/* OCaml */
-/* */
-/* Jacob Navia, after Xavier Leroy */
-/* */
-/* Copyright 2001 Institut National de Recherche en Informatique et */
-/* en Automatique. All rights reserved. This file is distributed */
-/* under the terms of the GNU Library General Public License, with */
-/* the special exception on linking described in file ../LICENSE. */
-/* */
-/***********************************************************************/
-
-/***********************************************************************/
-/* Changes made by Chris Watford to enhance the source editor */
-/* Began 14 Sept 2003 - watford@uiuc.edu */
-/***********************************************************************/
-
-#ifndef _EDITBUFFER_H_
-#define _EDITBUFFER_H_
-
-// All the below was added by Chris Watford watford@uiuc.edu
-
-typedef struct tagLineList {
- struct tagLineList *Next;
- struct tagLineList *Prev;
- char *Text;
-} LineList;
-
-typedef struct tagEditBuffer {
- int LineCount;
- struct tagLineList *Lines;
- BOOL isCorrect;
-} EditBuffer;
-
-BOOL editbuffer_addline (EditBuffer* edBuf, char* line);
-BOOL editbuffer_updateline (EditBuffer* edBuf, int idx, char* line);
-BOOL editbuffer_updateoraddline (EditBuffer* edBuf, int idx, char* line);
-BOOL editbuffer_removeline (EditBuffer* edBuf, int idx);
-char* editbuffer_getasline (EditBuffer* edBuf);
-char* editbuffer_getasbuffer (EditBuffer* edBuf);
-char* editbuffer_lastline (EditBuffer* edBuf);
-EditBuffer* editbuffer_copy (EditBuffer* edBuf);
-void editbuffer_destroy (EditBuffer* edBuf);
-EditBuffer* editbuffer_new (void);
-
-#endif