diff options
author | David Schleef <ds@schleef.org> | 2005-01-10 02:38:32 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-01-10 02:38:32 +0000 |
commit | f43c4e35ee4f2008b28811ca25af9c09ee44ec6e (patch) | |
tree | d7ef09a68deed5a9bd5bf499ed6f15bcee1e543a /examples | |
parent | 8e5ae77db51d5d3ab2f9f90d87294d2a6f5d6dbb (diff) | |
download | liboil-f43c4e35ee4f2008b28811ca25af9c09ee44ec6e.tar.gz |
* examples/oil-inspect.c: (oil_print_impl): use "std." as abbr for
standard
* examples/uberopt/uberopt.c: (main): fix compile problem on ia64
* examples/work/Makefile.am: glib fixes
* liboil/Makefile.am: autobuild a marshalling function
* liboil/build_marshal.c: (main), (add_pointer_mask),
(print_header), (print_footer): same
* liboil/liboilmarshal.c: (_oil_test_marshal_function): the
autobuilt source
* liboil/liboiltest.c: (oil_test_check_function): use the autobuilt
marshalling function
* liboil/liboiltest.h: same
Diffstat (limited to 'examples')
-rw-r--r-- | examples/oil-inspect.c | 2 | ||||
-rw-r--r-- | examples/uberopt/uberopt.c | 4 | ||||
-rw-r--r-- | examples/work/Makefile.am | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/examples/oil-inspect.c b/examples/oil-inspect.c index 4432e7d..95e8e21 100644 --- a/examples/oil-inspect.c +++ b/examples/oil-inspect.c @@ -114,7 +114,7 @@ oil_print_impl (OilFunctionImpl *impl, OilTest *test, char* prefix) free (c); } if (impl->profile_ave) { - printf ("%s profile: %g ticks (st.dev. %g)\n", prefix, impl->profile_ave, + printf ("%s profile: %g ticks (std.dev. %g)\n", prefix, impl->profile_ave, impl->profile_std); } if (test && !(impl->flags & OIL_IMPL_FLAG_REF)) { diff --git a/examples/uberopt/uberopt.c b/examples/uberopt/uberopt.c index d609d6d..9fcbd46 100644 --- a/examples/uberopt/uberopt.c +++ b/examples/uberopt/uberopt.c @@ -162,7 +162,7 @@ main (int argc, char *argv[]) s = strstr(lines[i],"UBER_INDEX"); if (s) { - g_print("%.*s%d%s\n", (s-lines[i]), lines[i], n_impls, s+10); + g_print("%.*s%d%s\n", (int)(s-lines[i]), lines[i], n_impls, s+10); } else { g_print("%s\n",lines[i]); } @@ -180,7 +180,7 @@ main (int argc, char *argv[]) s = strstr(lines[i],"UBER_INDEX"); if (s) { - g_print("%.*s%d%s\n", (s-lines[i]), lines[i], n_impls, s+10); + g_print("%.*s%d%s\n", (int)(s-lines[i]), lines[i], n_impls, s+10); } else { g_print("%s\n",lines[i]); } diff --git a/examples/work/Makefile.am b/examples/work/Makefile.am index f141e6a..4ff1f58 100644 --- a/examples/work/Makefile.am +++ b/examples/work/Makefile.am @@ -1,5 +1,9 @@ +if HAVE_GLIB noinst_PROGRAMS = work +else +noinst_PROGRAMS = +endif work_SOURCES = work.c |