lib/ngt/ffi.rb in ngt-0.4.0 vs lib/ngt/ffi.rb in ngt-0.4.1

- old
+ new

@@ -34,12 +34,14 @@ attach_function :ngt_get_property_dimension, %i[pointer pointer], :int32_t attach_function :ngt_set_property_dimension, %i[pointer int32_t pointer], :bool attach_function :ngt_set_property_edge_size_for_creation, %i[pointer int16_t pointer], :bool attach_function :ngt_set_property_edge_size_for_search, %i[pointer int16_t pointer], :bool attach_function :ngt_is_property_object_type_float, %i[int32_t], :bool + attach_function :ngt_is_property_object_type_float16, %i[int32_t], :bool attach_function :ngt_get_property_object_type, %i[pointer pointer], :int32_t attach_function :ngt_set_property_object_type_float, %i[pointer pointer], :bool + attach_function :ngt_set_property_object_type_float16, %i[pointer pointer], :bool attach_function :ngt_set_property_object_type_integer, %i[pointer pointer], :bool attach_function :ngt_set_property_distance_type_l1, %i[pointer pointer], :bool attach_function :ngt_set_property_distance_type_l2, %i[pointer pointer], :bool attach_function :ngt_set_property_distance_type_angle, %i[pointer pointer], :bool attach_function :ngt_set_property_distance_type_hamming, %i[pointer pointer], :bool @@ -65,9 +67,10 @@ attach_function :ngt_get_property_edge_size_for_creation, %i[pointer pointer], :int16 attach_function :ngt_get_property_edge_size_for_search, %i[pointer pointer], :int16 attach_function :ngt_get_property_distance_type, %i[pointer pointer], :distance_type attach_function :ngt_create_error_object, %i[], :pointer attach_function :ngt_get_error_string, %i[pointer], :string + attach_function :ngt_clear_error_string, %i[pointer], :void attach_function :ngt_destroy_error_object, %i[pointer], :void attach_function :ngt_create_optimizer, %i[bool pointer], :pointer attach_function :ngt_optimizer_adjust_search_coefficients, %i[pointer string pointer], :bool attach_function :ngt_optimizer_execute, %i[pointer string string pointer], :bool attach_function :ngt_optimizer_set, %i[pointer int int int float float float float double double pointer], :bool