Searched refs:menuListSize (Results 1 – 1 of 1) sorted by relevance
26 static int menuListSize = 0; variable35 if (menunum < 1 || menunum > menuListSize) { in __glutGetMenuByNum()52 for (i = 0; i < menuListSize; i++) { in getUnusedMenuSlot()58 menuListSize++; in getUnusedMenuSlot()60 realloc(menuList, menuListSize * sizeof(GlutMenu *)); in getUnusedMenuSlot()63 menuList[menuListSize - 1] = NULL; in getUnusedMenuSlot()64 return menuListSize - 1; in getUnusedMenuSlot()106 if (menuid < 1 || menuid > menuListSize) { in glutSetMenu()