Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/tools/coccinelle/hashmap.cocci # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / tools / coccinelle / hashmap.cocci` 16 lines ยท 254 bytes Raw Blame History 1 @@ 2 expression E; 3 struct hashmap_entry HME; 4 @@ 5 - HME.hash = E; 6 + hashmap_entry_init(&HME, E); 7 8 @@ 9 identifier f !~ "^hashmap_entry_init$"; 10 expression E; 11 struct hashmap_entry *HMEP; 12 @@ 13 f(...) {<... 14 - HMEP->hash = E; 15 + hashmap_entry_init(HMEP, E); 16 ...>}