맥에서 빌드 안 되서 포크했습니다~
myevan opened this issue · 2 comments
myevan commented
https://github.com/myevan/LuaTinker
샘플 6개 컴파일과 작동은 확인했습니다
주요 수정 사항
- strcpy_s, sprintf_s, vsprintf_s 매크로 추가
- sprintf long long, unsinged long long gcc 용 포멧팅 추가
- class_helper 선언 시점은 사용 시점보다 앞당김
- mem_var if 템플릿 컴파일 에러 회피
사소한 수정 사항
- cp949 를 utf8 으로 변경
- tab 을 space 4개로 변경
- \r\n 을 \n 으로 교체
추가 사항
- 맥 OS X 용 Makefile
- 프로젝트에 포함된 lua 헤더 대신 lua-5.1.5 소스를 받아와서 빌드한 라이브러리와 헤더 사용
zxzAndyMAC commented
sample3.lua has memory leak bug
a = g_test:get() this can caught memory leak
Voyager1th commented
调用很方便,但绑定太麻烦,可以参考我的绑定 https://github.com/Voyager1th/luabinder.git