From: Alexis Laferrière Date: Sat, 10 May 2014 13:27:33 +0000 (-0400) Subject: ffi: minor clean up X-Git-Tag: v0.6.6~69^2~2 X-Git-Url: http://nitlanguage.org ffi: minor clean up Signed-off-by: Alexis Laferrière --- diff --git a/src/common_ffi/common_ffi.nit b/src/common_ffi/common_ffi.nit index ae2734a..2a9e7d4 100644 --- a/src/common_ffi/common_ffi.nit +++ b/src/common_ffi/common_ffi.nit @@ -46,7 +46,7 @@ redef class MModule # Complete the compilation of the FFI code fun finalize_ffi_wrapper(compdir: String, mainmodule: MModule) do - for language in present_languages do if ffi_callbacks.keys.has(language) then + for language in ffi_callbacks.keys do for callback in ffi_callbacks[language] do language.compile_callback(callback, self, mainmodule, ffi_ccu.as(not null)) end