Mail Archives: djgpp/1997/02/04/12:52:25
Hi,
I'm using Allegro and want to install some my functition.
This function had to called each time the
my_keyint() in /allegro/src/keyboard.c triggered by
keyboard interrupt.
There are to ways to do it.
1st is alter Allegro src by adding my code at the end of
my_keyint(). But this way is obviously unwanted.
2st write my own wrapper like this
static int new_my_keyint()
{
my_keyint();//calling Allegro's function
//and finaly proccess some my code
...
...
}
Am I right or I missing somethig important ?
--
Regards,
Dim Zegebart,
Moscow Russia.
- Raw text -