Program Listing for File algorithm.h

Return to documentation for file (rcsw/algorithm/algorithm.h)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcsw/rcsw.h"

/*******************************************************************************
 * API Functions
 ******************************************************************************/
BEGIN_C_DECLS

RCSW_API bool_t str_is_parenthesizable(const char *x,
                                       char *r, char el,
                                       char (*multiply_cb)(char x, char y));

/*******************************************************************************
 * RCSW Private Functions
 ******************************************************************************/
RCSW_LOCAL size_t alg_arr_largest_num(const size_t * array, size_t n_elts);

RCSW_LOCAL int alg_arr_largest_num2(const int * array, size_t n_elts);

END_C_DECLS