entry->name = NULL;
entry->insc = NULL;
}
+
+
+/*
+ * Free memory of lines_list.
+ */
+void free_text_lines(concptr *lines_list)
+{
+ for (int lines = 0; lines_list[lines]; lines++)
+ {
+ string_free(lines_list[lines]);
+ }
+
+ /* free list of pointers */
+ C_KILL(lines_list, MAX_LINES, concptr);
+}
#pragma once
#define MAX_LINELEN 1024
-
#define MAX_AUTOPICK_DEFAULT 200
+#define MAX_YANK MAX_LINELEN
+#define MAX_LINES 3000
#define PT_DEFAULT 0
#define PT_WITH_PNAME 1
-#define MAX_YANK MAX_LINELEN
-#define MAX_LINES 3000
-
#define MARK_MARK 0x01
#define MARK_BY_SHIFT 0x02
extern object_type autopick_last_destroyed_object;
void autopick_free_entry(autopick_type *entry);
+void free_text_lines(concptr *lines_list);
/*
- * Free memory of lines_list.
- */
-static void free_text_lines(concptr *lines_list)
-{
- for (int lines = 0; lines_list[lines]; lines++)
- {
- string_free(lines_list[lines]);
- }
-
- /* free list of pointers */
- C_KILL(lines_list, MAX_LINES, concptr);
-}
-
-
-/*
* Delete or insert string
*/
static void toggle_keyword(text_body_type *tb, BIT_FLAGS flg)