Skip to content

Commit

Permalink
Added header guard to wordlist.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kotlinsyntax committed Feb 3, 2024
1 parent fcb1522 commit c4b43e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spellchk.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef SPELLCHECKSHARED_LIBRARY_H
#define SPELLCHECKSHARED_LIBRARY_H
#ifndef SPELLCHECK_LIBRARY_H
#define SPELLCHECK_LIBRARY_H
#include <string>
#include <vector>

Expand All @@ -18,4 +18,4 @@ void loadDefaultDictionary();
void loadHexDictionary(const unsigned char* hexDump, size_t size);
std::vector<std::string> spell_check(const std::string& word);

#endif //SPELLCHECKSHARED_LIBRARY_H
#endif //SPELLCHECK_LIBRARY_H
3 changes: 3 additions & 0 deletions src/wordlist.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifndef WORDLIST_HPP
#define WORDLIST_HPP
unsigned char wordlist_txt[] = {
0x41, 0x46, 0x41, 0x49, 0x4b, 0x0d, 0x0a, 0x41, 0x49, 0x0d, 0x0a, 0x41,
0x49, 0x44, 0x53, 0x0d, 0x0a, 0x41, 0x49, 0x73, 0x0d, 0x0a, 0x41, 0x4e,
Expand Down Expand Up @@ -506457,3 +506459,4 @@ unsigned char wordlist_txt[] = {
0x73, 0x0d, 0x0a, 0x7a, 0x7a, 0x7a
};
unsigned int wordlist_txt_len = 6077466;
#endif //WORDLIST_HPP

0 comments on commit c4b43e7

Please sign in to comment.