Skip to content

Commit

Permalink
Undefine allocate class method
Browse files Browse the repository at this point in the history
  • Loading branch information
akihikodaki committed Feb 23, 2023
1 parent 7a2abec commit ed6ef27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/cld3/nnet_language_identifier_c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ extern "C" EXPORT void Init_cld3_ext() {
rb_define_const(identifier, "RELIABILITY_HR_BS_THRESHOLD",
DBL2NUM(chrome_lang_id::NNetLanguageIdentifier::kReliabilityHrBsThreshold));

rb_undef_alloc_func(unstable);
rb_define_singleton_method(unstable, "make", make, 2);
rb_define_method(unstable, "find_language", find_language, 3);
rb_define_method(unstable, "find_top_n_most_freq_langs",
Expand Down

0 comments on commit ed6ef27

Please sign in to comment.