diff options
Diffstat (limited to '.emacs.d/snippets/c-mode/malloc')
| -rw-r--r-- | .emacs.d/snippets/c-mode/malloc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/snippets/c-mode/malloc b/.emacs.d/snippets/c-mode/malloc new file mode 100644 index 0000000..2a51de3 --- /dev/null +++ b/.emacs.d/snippets/c-mode/malloc | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: malloc | ||
| 3 | # key: malloc | ||
| 4 | # -- | ||
| 5 | malloc(sizeof($1)${2: * ${3:3}}); | ||
| 6 | $0 \ No newline at end of file | ||
