Simplified implementation of is_equal_int and added return value for dll_init on successful allocation