Ignore:
Timestamp:
Nov 25, 2007, 12:11:59 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Adapt the C++ bindings to the event API change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/caca++.cpp

    r1462 r2050  
    1919 */
    2020
     21#include <iostream>
    2122
    2223#include "caca++.h"
    23 
    2424
    2525Caca::Caca(Cucul *cv)
     
    7979int Caca::getEvent(unsigned int g, Event *n, int aa)
    8080{
    81     return caca_get_event(dp, g, &n->e, aa);
     81    return caca_get_event(dp, g, n ? &n->e : NULL, aa);
    8282}
    8383
Note: See TracChangeset for help on using the changeset viewer.