comparison LightClone/Source/ArrayList.h @ 21:b4dc5d674e22

Added GUI event system and some support data structures
author koryspansel
date Thu, 15 Sep 2011 18:42:12 -0700
parents 51718795f019
children 95677f648a2c
comparison
equal deleted inserted replaced
20:4e9b5299ffdc 21:b4dc5d674e22
46 } 46 }
47 47
48 /* 48 /*
49 * Add 49 * Add
50 */ 50 */
51 ErrorCode Add(Type& kValue) 51 ErrorCode Add(Type kValue)
52 { 52 {
53 ErrorCode eCode = Resize(nSize + 1); 53 ErrorCode eCode = Resize(nSize + 1);
54 if(eCode == Error_Success) 54 if(eCode == Error_Success)
55 { 55 {
56 pList[nSize++] = kValue; 56 pList[nSize++] = kValue;