1
0
Fork 0
mirror of git://git.psyced.org/git/psyclpc synced 2024-08-15 03:20:16 +00:00
psyclpc/src/ed.h

32 lines
713 B
C
Raw Normal View History

2009-03-03 03:27:01 +00:00
#ifndef ED_H__
#define ED_H__ 1
#ifdef USE_BUILTIN_EDITOR
#include "driver.h"
#include "typedefs.h"
/* --- Prototypes --- */
extern size_t ed_buffer_size (ed_buffer_t *buffer);
extern svalue_t * get_ed_prompt (interactive_t *ip);
#ifdef GC_SUPPORT
extern void clear_ed_buffer_refs(ed_buffer_t *b);
extern void count_ed_buffer_refs(ed_buffer_t *b);
#endif /* GC_SUPPORT */
#ifdef USE_PARANOIA
extern void count_ed_buffer_extra_refs(ed_buffer_t *b);
#endif
extern void free_ed_buffer(void);
extern void ed_cmd(char *str);
extern void save_ed_buffer(void);
extern svalue_t *v_ed(svalue_t *sp, int num_arg);
extern svalue_t *f_query_editing(svalue_t *sp);
#endif /* USE_BUILTIN_EDITOR */
#endif /* ED_H__ */