Sha256: 31762b0b16b175f3c0fbd8805fcb5d6de8b827cbcad71b5400da1c86a32cf0a2

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

#ifndef COM_MODP_STRINGENCODERS_ARRAYTOC
#define COM_MODP_STRINGENCODERS_ARRAYTOC

#include "modp_stdint.h"

#ifdef __cplusplus
#define BEGIN_C extern "C" {
#define END_C }
#else
#define BEGIN_C
#define END_C
#endif

BEGIN_C

/** \brief output a uint32_t array into source code
 *
 *
 * \param[in] ary the input array
 * \param[in] size number of elements in array
 * \param[in] name the name of the struct for the source code
 *
 */
void uint32_array_to_c(const uint32_t* ary, size_t size, const char* name);

/** \brief output an uint32_t array into source code as hex values
 *
 * \param[in] ary the input array
 * \param[in] size number of elements in array
 * \param[in] name the name of the struct for source code
 *
 */
void uint32_array_to_c_hex(const uint32_t* ary, size_t size, const char* name);

/** \brief output a char array into source code
 *
 * \param[in] ary the input array
 * \param[in] size number of elements in array
 * \param[in] name the name of the struct for source code
 */
void char_array_to_c(const char* ary, size_t size, const char* name);

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffi-hydrogen-0.1.5 vendor/stringencoders/src/arraytoc.h
ffi-hydrogen-0.1.4 vendor/stringencoders/src/arraytoc.h
ffi-hydrogen-0.1.3 vendor/stringencoders/src/arraytoc.h
ffi-hydrogen-0.1.2 vendor/stringencoders/src/arraytoc.h
ffi-hydrogen-0.1.1 vendor/stringencoders/src/arraytoc.h
ffi-hydrogen-0.1.0 vendor/stringencoders/src/arraytoc.h