이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
도움말
로그인
cacalabs
/
libcaca
의 미러
https://github.com/cacalabs/libcaca.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
7
위키
활동
소스 검색
* Use to_i on the event mask, it is not always an Integer
tags/v0.99.beta14
Pascal Terjan
pterjan
18 년 전
부모
117a70f1ee
커밋
fab393b78e
1개의 변경된 파일
과
2개의 추가작업
그리고
0개의 파일을 삭제
통합 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
ruby/caca-display.c
+ 2
- 0
ruby/caca-display.c
파일 보기
@@ -125,6 +125,8 @@ static VALUE get_event(VALUE self, VALUE event_mask, VALUE timeout)
caca_event_t ev;
caca_event_t ev;
VALUE e;
VALUE e;
event_mask = rb_funcall(event_mask, rb_intern("to_i"), 0);
if(caca_get_event(_SELF, NUM2UINT(event_mask), &ev, NUM2INT(timeout)) == 0)
if(caca_get_event(_SELF, NUM2UINT(event_mask), &ev, NUM2INT(timeout)) == 0)
{
{
return Qnil;
return Qnil;
쓰기
미리보기
불러오는 중...
취소
저장