From 61753a99a63f98fc58c6cef10b56e460e05076ad Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sun, 20 Jun 2010 18:39:35 +0000 Subject: [PATCH] fix eina_convert examples SVN revision: 49774 --- legacy/eina/src/lib/eina_convert.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/legacy/eina/src/lib/eina_convert.c b/legacy/eina/src/lib/eina_convert.c index e499c10f30..458a00f183 100644 --- a/legacy/eina/src/lib/eina_convert.c +++ b/legacy/eina/src/lib/eina_convert.c @@ -204,10 +204,10 @@ eina_convert_shutdown(void) * } * @endcode * - * Compile this code with the following commant: + * Compile this code with the following command: * * @code - * gcc -Wall -o test_eina_convert test_eina.c `pkg-config --cflags --libs eina` + * gcc -Wall -o test_eina_convert test_eina.c `pkg-config --cflags --libs eina-0` * @endcode * * @note @@ -242,6 +242,7 @@ eina_convert_shutdown(void) * @code * #include * #include + * #include * * #include * @@ -258,12 +259,13 @@ eina_convert_shutdown(void) * return EXIT_FAILURE; * } * + * printf("initial value : 40.56\n"); * eina_convert_dtoa(40.56, tmp); - * printf("value: %s\n", tmp); + * printf("result dtoa : %s\n", tmp); * eina_convert_atod(tmp, 128, &m, &e); * r = ldexp((double)m, e); - * printf("value: %s\n", tmp); + * printf("result atod : %f\n", r); * * eina_shutdown(); * @@ -271,7 +273,11 @@ eina_convert_shutdown(void) * } * @endcode * - * Compile this code with the same command as above. + * Compile this code with the following command: + * + * @code + * gcc -Wall -o test_eina_convert test_eina.c `pkg-config --cflags --libs eina-0` -lm + * @endcode * * @{ */