- Timestamp:
- Mar 24, 2011, 4:10:53 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 283ff1e
- Parents:
- d07af84
- git-author:
- David Benjamin <davidben@mit.edu> (03/11/11 00:17:26)
- git-committer:
- David Benjamin <davidben@mit.edu> (03/24/11 16:10:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
rf25df21 r47e0a6a 957 957 } 958 958 959 c har *owl_global_get_kill_buffer(owl_global *g) {959 const char *owl_global_get_kill_buffer(owl_global *g) { 960 960 return g->kill_buffer; 961 961 } 962 962 963 void owl_global_set_kill_buffer(owl_global *g,char *kill) { 964 g->kill_buffer = kill; 965 } 963 void owl_global_set_kill_buffer(owl_global *g, const char *kill, int len) { 964 g_free(g->kill_buffer); 965 g->kill_buffer = g_strndup(kill, len); 966 }
Note: See TracChangeset
for help on using the changeset viewer.