- Timestamp:
- Feb 11, 2009, 12:20:22 PM (16 years ago)
- Branches:
- master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 7980fb2
- Parents:
- 823671c
- git-author:
- Nelson Elhage <nelhage@mit.edu> (02/08/09 16:31:14)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (02/11/09 12:20:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r58d1f8a rf34dd65 51 51 owl_keys_setup_keymaps(&g->kh); 52 52 53 owl_list_create(&(g->muxevents));54 53 owl_list_create(&(g->filterlist)); 55 54 owl_list_create(&(g->puntlist)); … … 588 587 } 589 588 590 /* muxevents */591 592 owl_muxevents *owl_global_get_muxevents(owl_global *g) {593 return(&(g->muxevents));594 }595 596 589 /* filterlist */ 597 590 … … 717 710 int owl_global_get_newmsgproc_pid(owl_global *g) { 718 711 return(g->newmsgproc_pid); 719 }720 721 void owl_global_add_to_malloced(owl_global *g, int i) {722 g->malloced+=i;723 }724 725 void owl_global_add_to_freed(owl_global *g, int i) {726 g->freed+=1;727 }728 729 int owl_global_get_malloced(owl_global *g) {730 return(g->malloced);731 }732 733 int owl_global_get_freed(owl_global *g) {734 return(g->freed);735 }736 737 int owl_global_get_meminuse(owl_global *g) {738 return(g->malloced-g->freed);739 712 } 740 713
Note: See TracChangeset
for help on using the changeset viewer.