summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/c-mode/malloc
diff options
context:
space:
mode:
authorSimeon Simeonov2015-02-04 21:41:42 +0100
committerSimeon Simeonov2015-02-04 21:41:42 +0100
commit897eee81de8b3f6adf0165f50e95600a7b89c20c (patch)
tree5ee19c07c40e822e15a6443e5db5601c28913454 /.emacs.d/snippets/c-mode/malloc
parent9a46567eb167e5aef4b2e760c5d6bdc4fe1ba06a (diff)
Standalone lisp and snippet repo
Diffstat (limited to '.emacs.d/snippets/c-mode/malloc')
-rw-r--r--.emacs.d/snippets/c-mode/malloc6
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# --
5malloc(sizeof($1)${2: * ${3:3}});
6$0 \ No newline at end of file