From aec58814c3cc8ba4b65a15cf75a500fa6efa22d5 Mon Sep 17 00:00:00 2001 From: Saturneic Date: Wed, 22 Aug 2018 19:02:33 +0800 Subject: [PATCH] Fixed. --- .../xcdebugger/Breakpoints_v2.xcbkptlist | 158 +++++++++--------- list/list.c | 2 +- list/list.h | 8 + 3 files changed, 87 insertions(+), 81 deletions(-) diff --git a/ZE-Standard-Libraries.xcodeproj/xcuserdata/huyibing.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/ZE-Standard-Libraries.xcodeproj/xcuserdata/huyibing.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index d08de4d..9781d19 100644 --- a/ZE-Standard-Libraries.xcodeproj/xcuserdata/huyibing.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/ZE-Standard-Libraries.xcodeproj/xcuserdata/huyibing.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -154,7 +154,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "test.c" - timestampString = "556616657.914873" + timestampString = "556628194.418951" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "45" @@ -541,7 +541,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.915619" + timestampString = "556628194.419407" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "111" @@ -557,7 +557,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.91573" + timestampString = "556628194.419521" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "107" @@ -573,7 +573,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.915815" + timestampString = "556628194.41959" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "224" @@ -589,7 +589,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.9158961" + timestampString = "556628194.419654" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "216" @@ -605,7 +605,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.915984" + timestampString = "556628194.419724" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "170" @@ -621,7 +621,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.916069" + timestampString = "556628194.4197839" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "38" @@ -637,7 +637,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.916149" + timestampString = "556628194.419843" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "109" @@ -669,7 +669,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.9162461" + timestampString = "556628194.4199179" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "7" @@ -685,7 +685,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.916327" + timestampString = "556628194.419981" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "46" @@ -701,7 +701,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.9164079" + timestampString = "556628194.420041" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "150" @@ -717,7 +717,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.916494" + timestampString = "556628194.420101" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "131" @@ -733,7 +733,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.9165781" + timestampString = "556628194.4201601" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "133" @@ -765,7 +765,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.916675" + timestampString = "556628194.42024" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "253" @@ -781,7 +781,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.91676" + timestampString = "556628194.420329" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "257" @@ -797,7 +797,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "communicate/communicate.c" - timestampString = "556616657.916842" + timestampString = "556628194.420463" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "254" @@ -813,12 +813,12 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "list/list.c" - timestampString = "556616657.916931" + timestampString = "556628194.4205739" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "514" - endingLineNumber = "514" - landmarkName = "mply_findByValue" + startingLineNumber = "527" + endingLineNumber = "527" + landmarkName = "copyNode" landmarkType = "9"> @@ -861,13 +861,11 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "test.c" - timestampString = "556616657.917055" + timestampString = "556628194.421555" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "103" - endingLineNumber = "103" - landmarkName = "main" - landmarkType = "9"> + startingLineNumber = "104" + endingLineNumber = "104"> @@ -1517,11 +1515,11 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "test.c" - timestampString = "556616657.9201781" + timestampString = "556628194.4248281" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "100" - endingLineNumber = "100" + startingLineNumber = "101" + endingLineNumber = "101" landmarkName = "main" landmarkType = "9"> @@ -1533,7 +1531,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "list/list.c" - timestampString = "556616657.920482" + timestampString = "556628194.4249229" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "148" @@ -1549,12 +1547,12 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "list/list.c" - timestampString = "556616657.920566" + timestampString = "556628194.425414" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "844" - endingLineNumber = "844" - landmarkName = "indexTransfromer" + startingLineNumber = "866" + endingLineNumber = "866" + landmarkName = "getNodeByFnNode" landmarkType = "9"> @@ -1565,12 +1563,12 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "list/list.c" - timestampString = "556616657.920644" + timestampString = "556628194.425916" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "846" - endingLineNumber = "846" - landmarkName = "indexTransfromer" + startingLineNumber = "868" + endingLineNumber = "868" + landmarkName = "getNodeByFnNode" landmarkType = "9"> @@ -1581,7 +1579,7 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "test.c" - timestampString = "556616657.920717" + timestampString = "556628194.426397" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" startingLineNumber = "98" @@ -1597,13 +1595,13 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "list/list.c" - timestampString = "556616657.920998" + timestampString = "556628194.426484" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "892" - endingLineNumber = "892" - landmarkName = "unknown" - landmarkType = "0"> + startingLineNumber = "918" + endingLineNumber = "918" + landmarkName = "insertAfterNode" + landmarkType = "9"> diff --git a/list/list.c b/list/list.c index 186fd8c..d627027 100644 --- a/list/list.c +++ b/list/list.c @@ -794,7 +794,7 @@ int refreshFnNode(List *p_list){ continue; } p_node->f_number = i; - p_list->p_lq->fn_node[i] = p_node; + blk_plq->fn_node[i] = p_node; p_node = p_node->next; i++; } diff --git a/list/list.h b/list/list.h index bfe0099..314d7dd 100644 --- a/list/list.h +++ b/list/list.h @@ -36,6 +36,14 @@ #define lupdull(list,x,value) updateValueWithULLIntForNode(findByIndexForNode(list, x),value) +#define lidxvle(list,x) (findByIndexForNode(list, x)->value) +#define lrmvidx(list,x) removeByNode(list, findByIndexForNode(list, x) +#define lpoph(list) popFromHead(list) +#define lpopt(list) popFromTail(list) +#define lfndsid(list,sid) (findByIdForNode(list,sid)->value) +#define lstns() initList(0); +#define lstn() initList(0); + int safeModeForNode(int ifon); int releaseSingleListForsafeModeForNode(List *p_list); int releaseSingleNodeForsafeModeForNode(List *p_list);