mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 17:31:56 +00:00
rename lib module to more specific name stardict_lib
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
#include "file.hpp"
|
#include "file.hpp"
|
||||||
#include "mapfile.hpp"
|
#include "mapfile.hpp"
|
||||||
|
|
||||||
#include "lib.hpp"
|
#include "stardict_lib.hpp"
|
||||||
|
|
||||||
// Notice: read src/tools/DICTFILE_FORMAT for the dictionary
|
// Notice: read src/tools/DICTFILE_FORMAT for the dictionary
|
||||||
// file's format information!
|
// file's format information!
|
||||||
@@ -45,7 +45,7 @@ namespace {
|
|||||||
|
|
||||||
static inline gint stardict_strcmp(const gchar *s1, const gchar *s2)
|
static inline gint stardict_strcmp(const gchar *s1, const gchar *s2)
|
||||||
{
|
{
|
||||||
gint a=g_ascii_strcasecmp(s1, s2);
|
const gint a = g_ascii_strcasecmp(s1, s2);
|
||||||
if (a == 0)
|
if (a == 0)
|
||||||
return strcmp(s1, s2);
|
return strcmp(s1, s2);
|
||||||
else
|
else
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "file.hpp"
|
#include "file.hpp"
|
||||||
#include "lib.hpp"
|
#include "stardict_lib.hpp"
|
||||||
#include "readline.hpp"
|
#include "readline.hpp"
|
||||||
|
|
||||||
//this structure is wrapper and it need for unification
|
//this structure is wrapper and it need for unification
|
||||||
|
|||||||
Reference in New Issue
Block a user