Fix README markdown 10/311210/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 16 May 2024 06:15:56 +0000 (15:15 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 16 May 2024 06:15:56 +0000 (15:15 +0900)
This patch fixes wrong code implementation.

Change-Id: Icfd3ed02ab15f4fd2f20308654b40e8698907759
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
README.md

index c94e6be78dee1f531ae338f10ee6bde484e4a747..7ec13aa2bd48560e7fe684a3d5a2ac46050601d7 100755 (executable)
--- a/README.md
+++ b/README.md
@@ -557,16 +557,15 @@ To use 'protocol version 2', you must fill **'protocol 2'** in the .tidl file.
 
 <a name="enum-type"></a>
 ### Enum type
- - **'enum'** type is added.
- - You can declare an **enum** type inside a 'struct' or 'interface' and use it as a member variable or parameter.
-   ```tidl
+- **'enum'** type is added.
+- You can declare an **enum** type inside a 'struct' or 'interface' and use it as a member variable or parameter.
+  ```tidl
     struct Message {
       enum Type {
         T1 = 0,
         T2,
         T3
       }
-
       Type t;
       int id;
       string str;
@@ -582,7 +581,7 @@ To use 'protocol version 2', you must fill **'protocol 2'** in the .tidl file.
       string SayHello(Version ver, string str, Message.Type msg);
     }
   ```
-- When using a struct's enum type as a method parameter, it must be specified as **"<struct_name>.<enum_type>"**.
+- When using a struct's enum type as a method parameter, it must be specified as **'<struct_name>.<enum_type>'**.
 
 <a name="import-another-tidl-file"></a>
 ### Import another TIDL file
@@ -594,7 +593,7 @@ To use 'protocol version 2', you must fill **'protocol 2'** in the .tidl file.
     import <another.tidl>
 
     interface Message {
-      int Send(string name, string msg);
+       int Send(string name, string msg);
     }
   ```