Changeset c01e477 for variable.c
- Timestamp:
- Aug 26, 2002, 10:46:37 AM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 61e79a9
- Parents:
- 56330ff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
raa2f33b3 rc01e477 33 33 { name, OWL_VARIABLE_STRING, default, 0, "<string>", summary,description, NULL, \ 34 34 NULL, NULL, NULL, NULL, NULL, NULL } 35 36 #define OWLVAR_STRING_FULL(name,default,summary,description,validate,set,get) \ 37 { name, OWL_VARIABLE_STRING, default, 0, "<string>", summary,description, NULL, \ 38 validate, set, NULL, get, NULL, NULL } 35 39 36 40 /* enums are really integers, but where validset is a comma-separated … … 168 172 "SEE ALSO: view, filter\n" ), 169 173 174 OWLVAR_STRING_FULL( "tty" /* %OwlVarStub */, "", "tty name for zephyr location", "", 175 NULL, owl_variable_tty_set, NULL), 176 170 177 OWLVAR_INT( "edit:maxfillcols" /* %OwlVarStub:edit_maxfillcols */, 70, 171 178 "maximum number of columns for M-q to fill text to", … … 301 308 } 302 309 return owl_variable_int_set_default(v, newval); 310 } 311 312 int owl_variable_tty_set(owl_variable *v, void *newval) { 313 owl_function_makemsg("This is a test."); 314 return(owl_variable_string_set_default(v, newval)); 303 315 } 304 316
Note: See TracChangeset
for help on using the changeset viewer.