\section{dkc\-Queue.c File Reference}
\label{dkcQueue_8c}\index{dkcQueue.c@{dkcQueue.c}}
{\tt \#include \char`\"{}dkc\-Queue.h\char`\"{}}\par
{\tt \#include \char`\"{}dkc\-Stdio.h\char`\"{}}\par


Include dependency graph for dkc\-Queue.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=134pt]{dkcQueue_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf DKC\_\-QUEUE} $\ast$WINAPI {\bf dkc\-Alloc\-Queue} (size\_\-t numof\_\-\_\-, size\_\-t offsetof\_\-\_\-)
\begin{CompactList}\small\item\em キュー領域を得る。 \item\end{CompactList}\item 
int WINAPI {\bf dkc\-Free\-Queue} ({\bf DKC\_\-QUEUE} $\ast$$\ast$ptr)
\begin{CompactList}\small\item\em dkc\-Alloc\-New\-Queueと対。 \item\end{CompactList}\item 
int WINAPI {\bf dkc\-Queue\-Push} ({\bf DKC\_\-QUEUE} $\ast$ptr, const void $\ast$data)
\item 
int WINAPI {\bf dkc\-Queue\-Dynamic\-Push} ({\bf DKC\_\-QUEUE} $\ast$ptr, const void $\ast$data)
\item 
void WINAPI {\bf dkc\-Queue\-Pop} ({\bf DKC\_\-QUEUE} $\ast$ptr)
\item 
int WINAPI {\bf dkc\-Queue\-Top} ({\bf DKC\_\-QUEUE} $\ast$ptr, void $\ast$get\_\-data)
\item 
void WINAPI {\bf dkc\-Queue\-Clear} ({\bf DKC\_\-QUEUE} $\ast$ptr)
\item 
size\_\-t WINAPI {\bf dkc\-Queue\-Size} ({\bf DKC\_\-QUEUE} $\ast$ptr)
\item 
{\bf BOOL} WINAPI {\bf dkc\-Queue\-Is\-Empty} ({\bf DKC\_\-QUEUE} $\ast$ptr)
\item 
int WINAPI {\bf dkc\-Queue\-Serialize} (const {\bf DKC\_\-QUEUE} $\ast$ptr, {\bf DKC\_\-SERIALIZE} $\ast$se)
\item 
{\bf DKC\_\-QUEUE} $\ast$WINAPI {\bf dkc\-Alloc\-Queue\-Deserialize} ({\bf DKC\_\-DESERIALIZE} $\ast$se)
\end{CompactItemize}


\subsection{Detailed Description}
d金魚 \begin{Desc}
\item[Since:]2004/3/xx\end{Desc}


\subsection{Function Documentation}
\index{dkcQueue.c@{dkc\-Queue.c}!dkcAllocQueue@{dkcAllocQueue}}
\index{dkcAllocQueue@{dkcAllocQueue}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DKC\_\-QUEUE}$\ast$ WINAPI dkc\-Alloc\-Queue (size\_\-t {\em numof\_\-\_\-}, size\_\-t {\em offsetof\_\-\_\-})}\label{dkcQueue_8c_a0}


キュー領域を得る。 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em numof\_\-\_\-\mbox{[}in\mbox{]}}]キューに使う配列の要素の数 \item[{\em offsetof\_\-\_\-\mbox{[}in\mbox{]}}]キューにぶち込むデータのサイズ \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]キューハンドルへのポインタ。 \end{Desc}
\index{dkcQueue.c@{dkc\-Queue.c}!dkcAllocQueueDeserialize@{dkcAllocQueueDeserialize}}
\index{dkcAllocQueueDeserialize@{dkcAllocQueueDeserialize}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DKC\_\-QUEUE}$\ast$ WINAPI dkc\-Alloc\-Queue\-Deserialize ({\bf DKC\_\-DESERIALIZE} $\ast$ {\em se})}\label{dkcQueue_8c_a10}


\index{dkcQueue.c@{dkc\-Queue.c}!dkcFreeQueue@{dkcFreeQueue}}
\index{dkcFreeQueue@{dkcFreeQueue}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Free\-Queue ({\bf DKC\_\-QUEUE} $\ast$$\ast$ {\em ptr})}\label{dkcQueue_8c_a1}


dkc\-Alloc\-New\-Queueと対。 

DKC\_\-QUEUEをデリート \begin{Desc}
\item[Note:]必ず使用したあとはこれを呼んでください。 \end{Desc}
\index{dkcQueue.c@{dkc\-Queue.c}!dkcQueueClear@{dkcQueueClear}}
\index{dkcQueueClear@{dkcQueueClear}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void WINAPI dkc\-Queue\-Clear ({\bf DKC\_\-QUEUE} $\ast$ {\em ptr})}\label{dkcQueue_8c_a6}


キューをクリアする。 \index{dkcQueue.c@{dkc\-Queue.c}!dkcQueueDynamicPush@{dkcQueueDynamicPush}}
\index{dkcQueueDynamicPush@{dkcQueueDynamicPush}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Queue\-Dynamic\-Push ({\bf DKC\_\-QUEUE} $\ast$ {\em ptr}, const void $\ast$ {\em data})}\label{dkcQueue_8c_a3}


\index{dkcQueue.c@{dkc\-Queue.c}!dkcQueueIsEmpty@{dkcQueueIsEmpty}}
\index{dkcQueueIsEmpty@{dkcQueueIsEmpty}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} WINAPI dkc\-Queue\-Is\-Empty ({\bf DKC\_\-QUEUE} $\ast$ {\em ptr})}\label{dkcQueue_8c_a8}


\index{dkcQueue.c@{dkc\-Queue.c}!dkcQueuePop@{dkcQueuePop}}
\index{dkcQueuePop@{dkcQueuePop}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void WINAPI dkc\-Queue\-Pop ({\bf DKC\_\-QUEUE} $\ast$ {\em ptr})}\label{dkcQueue_8c_a4}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id\mbox{[}in\mbox{]}}]同じidを二回解放するとバグリます。 \end{description}
\end{Desc}
\index{dkcQueue.c@{dkc\-Queue.c}!dkcQueuePush@{dkcQueuePush}}
\index{dkcQueuePush@{dkcQueuePush}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Queue\-Push ({\bf DKC\_\-QUEUE} $\ast$ {\em ptr}, const void $\ast$)}\label{dkcQueue_8c_a2}


\begin{Desc}
\item[Note:]\end{Desc}
\index{dkcQueue.c@{dkc\-Queue.c}!dkcQueueSerialize@{dkcQueueSerialize}}
\index{dkcQueueSerialize@{dkcQueueSerialize}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Queue\-Serialize (const {\bf DKC\_\-QUEUE} $\ast$ {\em ptr}, {\bf DKC\_\-SERIALIZE} $\ast$ {\em se})}\label{dkcQueue_8c_a9}


\index{dkcQueue.c@{dkc\-Queue.c}!dkcQueueSize@{dkcQueueSize}}
\index{dkcQueueSize@{dkcQueueSize}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}size\_\-t WINAPI dkc\-Queue\-Size ({\bf DKC\_\-QUEUE} $\ast$ {\em ptr})}\label{dkcQueue_8c_a7}


\index{dkcQueue.c@{dkc\-Queue.c}!dkcQueueTop@{dkcQueueTop}}
\index{dkcQueueTop@{dkcQueueTop}!dkcQueue.c@{dkc\-Queue.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Queue\-Top ({\bf DKC\_\-QUEUE} $\ast$ {\em ptr}, void $\ast$ {\em get\_\-data})}\label{dkcQueue_8c_a5}


