Skip to content

Commit f9d67e8

Browse files
authored
Update README.md
1 parent 88e86cc commit f9d67e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Add ```yasio\xxsocket.cpp``` ```yasio\yasio.cpp``` ```yasio\ibstream.cpp``` ```y
4444
### JSB integration
4545
#### cocos2d-x jsb integration:
4646
1. Copy the folder ```yasio``` to cocos2d-x engine's folder ```external```, ```yasio``` as sub directory of ```external```
47-
2. Add obstream.cpp, ibstream.cpp, xxsocket.cpp, yasio.cpp, impl/yasio_jsb.cpp with your native project
47+
2. Add obstream.cpp, ibstream.cpp, xxsocket.cpp, yasio.cpp, impl/yasio_jsb.cpp to your native project
4848
3. Add register code to your AppDelegate.cpp: ```sc->addRegisterCallback(jsb_register_yasio);```, please include ```yasio_jsb.h``` firstly.
4949
##### For Android:
5050
Add yasio to your application Android.mk files, such as:
@@ -54,7 +54,7 @@ $(call import-module, external/yasio/build/android-jsb)
5454
```
5555
#### CocosCreator jsb2.0 integration:
5656
1. Copy the folder ```yasio``` to cocos2d-x engine's folder ```external/sources```, ```yasio``` as sub directory of ```external/sources```
57-
2. Add obstream.cpp, ibstream.cpp, xxsocket.cpp, yasio.cpp, impl/yasio_jsb20.cpp with your native project
57+
2. Add obstream.cpp, ibstream.cpp, xxsocket.cpp, yasio.cpp, impl/yasio_jsb20.cpp to your native project
5858
3. Add register code to your jsb_module_register.cpp: ```se->addRegisterCallback(jsb_register_yasio);``` , please include ```yasio_jsb20.h``` firstly.
5959
##### For Andorid:
6060
Add follow 5 lines to cocos/Android.mk file:

0 commit comments

Comments
 (0)