This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
jiffy
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
62
Wiki
Activity
Browse Source
Fix hot code upgrades
pull/29/head
0.5.0
Paul J. Davis
13 years ago
parent
5eea00e497
commit
0bf440d141
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
c_src/jiffy.c
+ 2
- 2
c_src/jiffy.c
View File
@ -42,8 +42,8 @@ reload(ErlNifEnv* env, void** priv, ERL_NIF_TERM info)
static
int
static
int
upgrade
(
ErlNifEnv
*
env
,
void
*
*
priv
,
void
*
*
old_priv
,
ERL_NIF_TERM
info
)
upgrade
(
ErlNifEnv
*
env
,
void
*
*
priv
,
void
*
*
old_priv
,
ERL_NIF_TERM
info
)
{
{
*
priv
=
*
old_priv
;
return
0
;
enif_free
(
*
old_priv
)
;
return
load
(
env
,
priv
,
info
)
;
}
}
static
void
static
void
Write
Preview
Loading…
Cancel
Save