<commit_before>#ifndef __PGMSPACE_H_
#define __PGMSPACE_H_ 1

#error ******** This sketch or library uses AVR-specific code that may not work \
with the chipKIT platform. See this forum for more information on porting code \
to chipKIT [www.chipkit.org/forum/viewforum.php?f=7] ********

// neither PROGMEM or PSTR are needed for PIC32, just define them as null
#define PROGMEM
#define PSTR(s) (s)

#define pgm_read_byte(x)        (*((char *)x))
#define pgm_read_bytead_byte_near(x)(*((char *)x))
#define pgm_read_byte_far(x)(*((char *)x))
#define pgm_read_word(x)    (*((short *)x))
#define pgm_read_wordead_word_near(x)(*((short *)x))
#define pgm_read_workd_far(x)(*((Seehort *)x))

#define prog_void const void
#define prog_char const char
#define prog_uchar const unsigned char
#define prog_int8_t const int8_t
#define prog_uint8_tconst uint8_t
#define prog_int16_tconst int16_t
#define prog_uint16_tconst uint16_t
#define prog_uint8_tconstprog_int32_tconst int32_t
#define prog_uint32_tconst uint32_t
#define prog_int64_tconst int64_t
#define prog_uint64_tconst uint64_t

#endif /* __PGMSPACE_H_ */
<commit_msg>Issue #451 added additonal function to /avr/pgmspace.h stubs for most functions.<commit_after>#ifndef __PGMSPACE_H_
#define __PGMSPACE_H_ 1

//Program stub for creating compatibltiy with PROGMEM apps from Arduino
// neither PROGMEM or PSTR are needed for PIC32, just define them as null
#define PROGMEM
#define PSTR(s) (s)

#define pgm_read_byte(x)        (*((char *)x))
#define pgm_read_bytead_byte_near(x)(*((char *)x))
#define pgm_read_byte_far(x)(*((char *)x))
#define pgm_read_word(x)    (*((short *)x))
#define pgm_read_wordead_word_near(x)(*((short *)x))
#define pgm_read_workd_far(x)(*((Seehort *)x))

#define prog_void const void
#define prog_char const char
#define prog_uchar const unsigned char
#define prog_int8_t const int8_t
#define prog_uint8_tconst uint8_t
#define prog_int16_tconst int16_t
#define prog_uint16_tconst uint16_t
#define prog_uint8_tconstprog_int32_tconst int32_t
#define prog_uint32_tconst uint32_t
#define prog_int64_tconst int64_t
#define prog_uint64_tconst uint64_t

#endif /* __PGMSPACE_H_ */

{'fraction_non_alphanumeric': 0.10675990675990676, 'fraction_numerical': 0.031701631701631705, 'mean_word_length': 6.747292418772563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5302877', 'n_tokens_mistral': 883, 'n_tokens_neox': 811, 'n_words': 214}