Mercurial > foo_out_sdl
annotate foosdk/sdk/pfc/bsearch.cpp @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
| 1 | 1 #include "pfc-lite.h" |
| 2 #include "bsearch.h" | |
| 3 #include "bsearch_inline.h" | |
| 4 | |
| 5 //deprecated | |
| 6 | |
| 7 /* | |
| 8 class NOVTABLE bsearch_callback | |
| 9 { | |
| 10 public: | |
| 11 virtual int test(t_size p_index) const = 0; | |
| 12 }; | |
| 13 */ | |
| 14 | |
| 15 namespace pfc { | |
| 16 | |
| 17 bool bsearch(t_size p_count, bsearch_callback const & p_callback,t_size & p_result) { | |
| 18 return bsearch_inline_t(p_count,p_callback,p_result); | |
| 19 } | |
| 20 | |
| 21 } |
