fish-shell/src/kill.h
Kurtis Rader 1f06e5f0b9 add better support for IWYU and fix things
Remove the "make iwyu" build target. Move the functionality into the
recently introduced lint.fish script. Fix a lot, but not all, of the
include-what-you-use errors. Specifically, it fixes all of the IWYU errors
on my OS X server but only removes some of them on my Ubuntu 14.04 server.

Fixes #2957
2016-04-26 15:02:22 -07:00

36 lines
706 B
C

/** \file kill.h
Prototypes for the killring.
Works like the killring in emacs and readline. The killring is cut and paste whith a memory of previous cuts.
*/
#ifndef FISH_KILL_H
#define FISH_KILL_H
#include "common.h"
/**
Replace the specified string in the killring
*/
void kill_replace(const wcstring &old, const wcstring &newv);
/** Add a string to the top of the killring */
void kill_add(const wcstring &str);
/** Rotate the killring */
const wchar_t *kill_yank_rotate();
/** Paste from the killring */
const wchar_t *kill_yank();
/** Sanity check */
void kill_sanity_check();
/** Initialize the killring */
void kill_init();
/** Destroy the killring */
void kill_destroy();
#endif