MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / cv_yank

Function cv_yank

extern/editline/src/chared.c:82–89  ·  view source on GitHub ↗

cv_yank(): * Save yank/delete data for paste */

Source from the content-addressed store, hash-verified

80 * Save yank/delete data for paste
81 */
82protected void
83cv_yank(EditLine *el, const Char *ptr, int size)
84{
85 c_kill_t *k = &el->el_chared.c_kill;
86
87 (void)memcpy(k->buf, ptr, (size_t)size * sizeof(*k->buf));
88 k->last = k->buf + size;
89}
90
91
92/* c_insert():

Callers 7

cv_actionFunction · 0.85
vi_substitute_lineFunction · 0.85
vi_change_to_eolFunction · 0.85
vi_yank_endFunction · 0.85
c_delafterFunction · 0.85
c_delbeforeFunction · 0.85
cv_delfiniFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected