summaryrefslogtreecommitdiff
path: root/priv/templates/basicnif.template
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-03-25 22:32:53 -0600
committerDave Smith <dizzyd@dizzyd.com>2010-03-25 22:32:53 -0600
commitb2cfdcb34af8e8dab0661820572ec01aa55bf30e (patch)
treeb9b6e1cd1d791fe7e4147e652a5d5814832a3dd6 /priv/templates/basicnif.template
parent84f5108e178d62be5a3c12ab6f4e9d26f027d6f6 (diff)
Adding basic NIF template
Diffstat (limited to 'priv/templates/basicnif.template')
-rw-r--r--priv/templates/basicnif.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/priv/templates/basicnif.template b/priv/templates/basicnif.template
new file mode 100644
index 0000000..6dde8bb
--- /dev/null
+++ b/priv/templates/basicnif.template
@@ -0,0 +1,3 @@
+{variables, [{module, "mymodule"}]}.
+{template, "basicnif.erl", "src/{{module}}.erl"}.
+{template, "basicnif.c", "c_src/{{module}}.c"}.