Changeset 1504536 for doc/generic_types/evaluation/c-pair.c
- Timestamp:
- Apr 14, 2017, 5:03:43 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 952d201
- Parents:
- bbe856c (diff), 3fb7f5e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/generic_types/evaluation/c-pair.c
rbbe856c r1504536 3 3 4 4 struct pair* new_pair(void* first, void* second) { 5 struct pair* p = malloc(sizeof(struct pair)); 6 *p = (struct pair){ first, second }; 5 struct pair* p = malloc(sizeof(struct pair)); /***/ 6 *p = (struct pair){ first, second }; /***/ 7 7 return p; 8 8 }
Note: See TracChangeset
for help on using the changeset viewer.