Changeset 997bf7 in git
- Timestamp:
- Jul 10, 2019, 5:07:42 PM (5 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
- Children:
- 18296cd9190bb2f8c652446aa5cf3a783ad2cb66
- Parents:
- c36a59349478e81a9b576d5483791fd3ec54e789
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/blackbox.cc
rc36a59 r997bf7 228 228 { 229 229 int i = 0; 230 void **l = (void **)omalloc (blackboxTableCnt * sizeof(void *));231 struct blackbox_list *list_struct = (struct blackbox_list *) om alloc(sizeof(struct blackbox_list));230 void **l = (void **)omalloc0(blackboxTableCnt * sizeof(void *)); 231 struct blackbox_list *list_struct = (struct blackbox_list *) omAlloc0(sizeof(struct blackbox_list)); 232 232 list_struct->count = blackboxTableCnt; 233 233 list_struct->list = l; -
Singular/blackbox.h
rc36a59 r997bf7 83 83 /// struct for containing list of blackbox names and the number of them. 84 84 struct blackbox_list { 85 int count = 0;86 void **list = NULL;85 int count; 86 void **list; 87 87 }; 88 88
Note: See TracChangeset
for help on using the changeset viewer.