# HG changeset patch # User mir3636 # Date 1487200461 -32400 # Node ID 327435666caa8046fd8e6240d6d2428e7f177e41 # Parent 37f6991465b009ab7b654b786f8208e0b3e074be update diff -r 37f6991465b0 -r 327435666caa presen/slide.html --- a/presen/slide.html Thu Feb 16 08:03:49 2017 +0900 +++ b/presen/slide.html Thu Feb 16 08:14:21 2017 +0900 @@ -87,7 +87,7 @@ @@ -204,10 +204,17 @@ goto clearSingleLinkedStack(context, stack, next); } -

# interface の記述 -- interface を記述することで Context を通して Code Gear が参照できるようになった。 -- create は関数呼び出しで呼び出され、interface と impliment の初期化と Code Gear のポインタの設定を行う。 -- return で interface を返し、その先で指定した Code Gear へ継続できるようになる。

+ + + +
+ +

interface の記述

+
Stack* createSingleLinkedStack(struct Context* context) {
     struct Stack* stack = new Stack();
     struct SingleLinkedStack* singleLinkedStack = new SingleLinkedStack();
diff -r 37f6991465b0 -r 327435666caa presen/slide.md
--- a/presen/slide.md	Thu Feb 16 08:03:49 2017 +0900
+++ b/presen/slide.md	Thu Feb 16 08:14:21 2017 +0900
@@ -80,6 +80,7 @@
         goto clearSingleLinkedStack(context, stack, next);
 }
 ```
+
 # interface の記述
 - interface を記述することで Context を通して Code Gear が参照できるようになった。
 - create は関数呼び出しで呼び出され、interface と impliment の初期化と Code Gear のポインタの設定を行う。