소스 검색

* Forgot a test on Caca() instantiation

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 19 년 전
부모
커밋
208cf461bc
1개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. +8
    -4
      cpp/cpptest.cpp

+ 8
- 4
cpp/cpptest.cpp 파일 보기

@@ -31,16 +31,20 @@ int main(int argc, char *argv[])
Caca::Event ev;

try {
qq = new Cucul();
qq = new Cucul();
}
catch (int e) {
cerr << "Error while initializing cucul (" << e << ")" << endl;
return -1;
}

kk = new Caca(qq);

try {
kk = new Caca(qq);
}
catch(int e) {
cerr << "Error while attaching cucul to caca (" << e << ")" << endl;
return -1;
}

qq->set_color(CUCUL_COLOR_LIGHTMAGENTA, CUCUL_COLOR_BLACK);



불러오는 중...
취소
저장