Skip to content

Commit d08d1dc

Browse files
committed
Bug in atom/list/atom conversion fixed.
1 parent 26d7ac0 commit d08d1dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/effi.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ when is_tuple( Lam ),
403403
{lam, _Line, _LamName, Sign, Body} = Lam,
404404
{forbody, Lang, Script} = Body,
405405
{sign, Lo, Li} = Sign,
406-
Mod = list_to_existing_atom("effi_" ++ atom_to_list(Lang)),
406+
Mod = list_to_atom("effi_" ++ atom_to_list(Lang)),
407407

408408
% get Foreign Function Interface type
409409
FfiType = apply( Mod, ffi_type, [] ),

0 commit comments

Comments
 (0)