X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Ftimer.h;fp=src%2Ftimer.h;h=0187e94e42b79aab2b1c095f206bb622e89b6403;hb=56bdd24ab9463c0bba4d5be87b2933e6a817ccee;hp=0000000000000000000000000000000000000000;hpb=26bfba9849221399127c93fe557c7877b523ec94;p=guile-irrlicht.git diff --git a/src/timer.h b/src/timer.h new file mode 100644 index 0000000..0187e94 --- /dev/null +++ b/src/timer.h @@ -0,0 +1,42 @@ +/* guile-irrlicht --- GNU Guile bindings for Irrlicht Engine + + Copyright (C) 2020 Javier Sancho + + This file is part of guile-irrlicht. + + guile-irrlicht 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. + + guile-irrlicht 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 + General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with guile-irrlicht. If not, see + . +*/ + +#ifndef __GUILE_IRRLICHT_TIMER_H_INCLUDED__ +#define __GUILE_IRRLICHT_TIMER_H_INCLUDED__ + +#include +#include +#include "wrapped.h" + +extern "C" { + + void + init_timer (void); + + DECLARE_WRAPPED_TYPE (irr::ITimer*, init_timer_type, + timer_p, wrap_timer, unwrap_timer); + + SCM + irr_getTime (SCM wrapped_timer); + +} + +#endif