이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
felix
/
ftb
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
added defer_free
banana-cakes
Felix Brendel
6 년 전
부모
98aa1450d8
커밋
e5cb9ce81d
2개의 변경된 파일
과
2개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
hashmap.hpp
+2
-0
macros.hpp
+ 0
- 1
hashmap.hpp
파일 보기
@@ -102,7 +102,6 @@ struct Hash_Map {
}
value_type get_object(key_type key) {
int index = get_index_of_living_cell_if_it_exists(key, hm_hash((key_type)key));
if (index != -1) {
return data[index].object;
+ 2
- 0
macros.hpp
파일 보기
@@ -54,6 +54,8 @@ static struct {
#define defer auto TOKENPASTE2(__deferred_lambda_call, __COUNTER__) = deferrer << [&]
#define defer_free(var) defer { free(var); }
/*
defer {
쓰기
미리보기
불러오는 중...
취소
저장