Mercurial > hg > Papers > 2017 > mitsuki-thesis
comparison final_main/chapter3.tex @ 14:4c3b39b281eb
update
author | mir3636 |
---|---|
date | Wed, 15 Feb 2017 21:48:16 +0900 |
parents | 86f6bb9be40a |
children | 11058e51adb7 |
comparison
equal
deleted
inserted
replaced
13:ddfca5037e41 | 14:4c3b39b281eb |
---|---|
39 | 39 |
40 \section{interface の記述} | 40 \section{interface の記述} |
41 | 41 |
42 interface を記述することで Context から Code Gear が呼び出せるようになった。 | 42 interface を記述することで Context から Code Gear が呼び出せるようになった。 |
43 create は関数呼び出しで呼び出され、interface と impliment の初期化と Code Gear のポインタの設定を行う。 | 43 create は関数呼び出しで呼び出され、interface と impliment の初期化と Code Gear のポインタの設定を行う。 |
44 return で interface を返し、その先で interface で指定した Code Gear へ継続できるようになった。 | 44 return で interface を返し、その先で指定した Code Gear へ継続できるようになる。 |
45 | 45 |
46 \begin{lstlisting}[frame=lrbt,label=interface,caption={interface}] | 46 \begin{lstlisting}[frame=lrbt,label=interface,caption={interface}] |
47 typedef struct Stack<Impl>{ | 47 typedef struct Stack<Impl>{ |
48 union Data* stack; | 48 union Data* stack; |
49 union Data* data; | 49 union Data* data; |