Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libconfig
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
libconfig
Commits
c8d468df
Commit
c8d468df
authored
May 27, 2014
by
Mark Lindner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more code cleanup
parent
cea2aee8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
15 deletions
+12
-15
README
README
+7
-3
configure.ac
configure.ac
+1
-1
lib/libconfig.c
lib/libconfig.c
+4
-8
lib/libconfigcpp.c++
lib/libconfigcpp.c++
+0
-1
lib/scanctx.c
lib/scanctx.c
+0
-1
lib/strbuf.c
lib/strbuf.c
+0
-1
No files found.
README
View file @
c8d468df
...
...
@@ -16,8 +16,8 @@ from C and C++.
-*-
Flex and Bison are not required in order to build this
package. However,
if you modify the .l or .y files, you must have Flex
(2.5.31 or better) and Bison (2.1 or better), respectively
.
package. However,
you will need them if you modify the .l or .y files. See
the list of required build tool versions below
.
-*-
...
...
@@ -57,7 +57,7 @@ $ ./configure --host=arm-linux-androideabi \
4) Build libconfig
make
$
make
-*-
...
...
@@ -68,3 +68,7 @@ Automake 1.14.1
Bison 3.0.2
Flex 2.5.39
Libtool 2.4.2
-*-
Libconfig may be found on github at https://github.com/hyperrealm/libconfig
configure.ac
View file @
c8d468df
...
...
@@ -31,7 +31,7 @@ cat <<EOF
*******************************************************************
You do not seem to have flex. While flex is not required to build
libconfig, you may need it to regenerate the lexer if you change
the scanner.l file.
Flex 2.5.33 or newer is recommended.
the scanner.l file.
*******************************************************************
EOF
fi
...
...
lib/libconfig.c
View file @
c8d468df
...
...
@@ -52,14 +52,15 @@
/* ------------------------------------------------------------------------- */
#ifndef LIBCONFIG_STATIC
#if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__))
#if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) \
|| defined(WIN64) || defined(_WIN64))
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
return
(
TRUE
);
}
#endif
/* WIN32 */
#endif
/* WIN32
|| WIN64
*/
#endif
/* LIBCONFIG_STATIC */
/* ------------------------------------------------------------------------- */
...
...
@@ -71,11 +72,6 @@ static void __config_write_setting(const config_setting_t *setting,
FILE
*
stream
,
int
depth
,
unsigned
short
tab_width
);
extern
int
libconfig_yyparse
(
void
*
scanner
,
struct
parse_context
*
ctx
,
struct
scan_context
*
scan_ctx
);
extern
int
libconfig_yylex_init_extra
(
struct
scan_context
*
scan_ctx
,
yyscan_t
*
scanner
);
/* ------------------------------------------------------------------------- */
static
void
__config_locale_override
(
void
)
...
...
@@ -1614,4 +1610,4 @@ int config_setting_index(const config_setting_t *setting)
}
/* ------------------------------------------------------------------------- */
/* eof */
lib/libconfigcpp.c++
View file @
c8d468df
...
...
@@ -1436,4 +1436,3 @@ int SettingConstIterator::operator-(SettingConstIterator const &other) const
}
// namespace libconfig
// eof
lib/scanctx.c
View file @
c8d468df
...
...
@@ -168,4 +168,3 @@ const char *scanctx_current_filename(struct scan_context *ctx)
}
/* ------------------------------------------------------------------------- */
/* eof */
lib/strbuf.c
View file @
c8d468df
...
...
@@ -55,4 +55,3 @@ void strbuf_append(strbuf_t *buf, const char *text)
}
/* ------------------------------------------------------------------------- */
/* eof */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment