Permalink
Browse files

Renamed application and module 'stm'

  • Loading branch information...
1 parent f7f8b41 commit b9a134e31f2520c643f372f177a9819838dce409 @ian-plosker committed Feb 12, 2012
View
@@ -2,3 +2,4 @@ c_src/tinySTM/
ebin/
.eunit/
priv/
+*.o
View
@@ -90,7 +90,7 @@ static int on_load(ErlNifEnv* env, void** priv_data, ERL_NIF_TERM load_info)
{
ErlNifResourceFlags flags = (ErlNifResourceFlags)(ERL_NIF_RT_CREATE | ERL_NIF_RT_TAKEOVER);
stm_erl_RESOURCE = enif_open_resource_type(env,
- "stm_erl",
+ "stm",
"stm_erl_resource",
&stm_erl_resource_resource_cleanup,
flags,
@@ -110,4 +110,4 @@ static ErlNifFunc nif_funcs[] =
{"load_var", 1, stm_erl_load_var}
};
-ERL_NIF_INIT(stm_erl, nif_funcs, &on_load, NULL, NULL, NULL);
+ERL_NIF_INIT(stm, nif_funcs, &on_load, NULL, NULL, NULL);
View
Binary file not shown.
@@ -1,4 +1,4 @@
-{application, stm_erl,
+{application, stm,
[
{description, ""},
{vsn, "1"},
@@ -7,6 +7,6 @@
kernel,
stdlib
]},
- {mod, { stm_erl_app, []}},
+ {mod, { stm_app, []}},
{env, []}
]}.
@@ -1,4 +1,4 @@
--module(stm_erl).
+-module(stm).
-author("Ian Plosker").
-compile(export_all).
@@ -1,4 +1,4 @@
--module(stm_erl_app).
+-module(stm_app).
-behaviour(application).
@@ -10,7 +10,7 @@
%% ===================================================================
start(_StartType, _StartArgs) ->
- stm_erl_sup:start_link().
+ stm_sup:start_link().
stop(_State) ->
ok.
@@ -1,5 +1,5 @@
--module(stm_erl_sup).
+-module(stm_sup).
-behaviour(supervisor).

0 comments on commit b9a134e

Please sign in to comment.