X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Flibrary.c;fp=src%2Flibrary.c;h=7af6f6042547a5094a235a3a91b8ffac932962e6;hb=718b114789f33651f138b33e7d39d80b028c98c6;hp=0000000000000000000000000000000000000000;hpb=d1be4beed531e6062d781c3adfd74cfea626a7c4;p=libnomaccel diff --git a/src/library.c b/src/library.c new file mode 100644 index 0000000..7af6f60 --- /dev/null +++ b/src/library.c @@ -0,0 +1,31 @@ +/* ============================================================================ + Copyright (C) 2010 nomrasco + Nom Rasco + + This file is part of libnomaccel. + + libnomaccel is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + libnomaccel is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with libnomaccel. If not, see . +============================================================================ */ +#include "../include/accel.h" +#include "global_p.h" + +void __attribute__ ((constructor)) _nom_accel_library_init(void) +{ + _accel_proxy_init (); +} + +void __attribute__ ((destructor)) _nom_accel_library_finalize(void) +{ + _accel_proxy_finit (); +}