os/ossrv/glib/tsrc/BC/tests/libmoduletestplugin_a.c
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/glib/tsrc/BC/tests/libmoduletestplugin_a.c	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,45 @@
     1.4 +/* libgplugin_a.c - test plugin for testgmodule
     1.5 + * Copyright (C) 1998 Tim Janik
     1.6 + * Portion Copyright © 2008-09 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
     1.7 + * This library is free software; you can redistribute it and/or
     1.8 + * modify it under the terms of the GNU Lesser General Public
     1.9 + * License as published by the Free Software Foundation; either
    1.10 + * version 2 of the License, or (at your option) any later version.
    1.11 + *
    1.12 + * This library is distributed in the hope that it will be useful,
    1.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.15 + * Lesser General Public License for more details.
    1.16 + *
    1.17 + * You should have received a copy of the GNU Lesser General Public
    1.18 + * License along with this library; if not, write to the
    1.19 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    1.20 + * Boston, MA 02111-1307, USA.
    1.21 + */
    1.22 +
    1.23 +/*
    1.24 + * Modified by the GLib Team and others 1997-2000.  See the AUTHORS
    1.25 + * file for a list of people on the GLib Team.  See the ChangeLog
    1.26 + * files for a list of changes.  These files are distributed with
    1.27 + * GLib at ftp://ftp.gtk.org/pub/gtk/. 
    1.28 + */
    1.29 +
    1.30 +#undef G_DISABLE_ASSERT
    1.31 +#undef G_LOG_DOMAIN
    1.32 +
    1.33 +#include	<gmodule.h>
    1.34 +#include	<stdlib.h>
    1.35 +#include <_ansi.h>
    1.36 +
    1.37 +
    1.38 +EXPORT_C  int
    1.39 +gplugin_a_func1 (void)
    1.40 +{
    1.41 +	return 1;
    1.42 +}
    1.43 +
    1.44 +EXPORT_C int
    1.45 +gplugin_a_func2 (void)
    1.46 +{
    1.47 +	return 2;
    1.48 +}