summaryrefslogtreecommitdiffstats
path: root/win32caml/history.h
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2004-07-13 12:25:21 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2004-07-13 12:25:21 +0000
commit63c1789b5edb177db6f5c0ae351815c584562cab (patch)
tree7fede3c61f74a6a228cffb11499ae6b222b0b67d /win32caml/history.h
parent237006931a8e0e1aa292b93c14a1ab60d4138d53 (diff)
Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'win32caml/history.h')
-rw-r--r--win32caml/history.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/win32caml/history.h b/win32caml/history.h
new file mode 100644
index 000000000..a9ba85841
--- /dev/null
+++ b/win32caml/history.h
@@ -0,0 +1,35 @@
+/***********************************************************************/
+/* */
+/* Objective Caml */
+/* */
+/* 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 _HISTORY_H_
+#define _HISTORY_H_
+
+#include "editbuffer.h"
+
+// Simple linked list for holding the history lines
+typedef struct tagStatementHistory {
+ struct tagStatementHistory *Next;
+ struct tagStatementHistory *Prev;
+ EditBuffer *Statement;
+} StatementHistory;
+
+void AddToHistory (EditBuffer *edBuf);
+char *GetHistoryLine (int n);
+static BOOL CALLBACK HistoryDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+
+#endif