htqueue.c
来自「www工具包. 这是W3C官方支持的www支撑库. 其中提供通用目的的客户端的W」· C语言 代码 · 共 64 行
C
64 行
/*** @(#) $Id: HTQueue.c,v 1.1 1998/10/26 22:45:34 frystyk Exp $** ** W3C Webbot can be found at "http://www.w3.org/Robot/"** ** Copyright 仼 1995-1998 World Wide Web Consortium, (Massachusetts** Institute of Technology, Institut National de Recherche en** Informatique et en Automatique, Keio University). All Rights** Reserved. This program is distributed under the W3C's Software** Intellectual Property License. This program is distributed in the hope** that it will be useful, but WITHOUT ANY WARRANTY; without even the** implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR** PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more** details.**** Authors:** JP John Punin**** History:** Oct 1998 Written*/#include "HTQueue.h"HTList * HTQueue_new(void){ return HTList_new();}BOOL HTQueue_delete(HTList *me){ return HTList_delete(me);}BOOL HTQueue_enqueue(HTList *me,void *newObject){ return HTList_addObject(me,newObject);}BOOL HTQueue_append(HTList *me,void *newObject){ return HTList_appendObject(me,newObject);}BOOL HTQueue_dequeue(HTList *me){ return HTList_removeFirstObject(me) ? YES : NO;}BOOL HTQueue_isEmpty(HTList *me){ return HTList_isEmpty(me);}void * HTQueue_headOfQueue(HTList *me){ return HTList_firstObject(me);}int HTQueue_count(HTList *me){ return HTList_count(me);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?