소스 검색

Add some comments

ithewei 3 년 전
부모
커밋
ccd632bc8e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      event/hloop.h
  2. 1 1
      evpp/Channel.h

+ 1 - 1
event/hloop.h

@@ -536,7 +536,7 @@ typedef struct unpack_setting_s {
  *
  * NOTE: unpack_setting_t of multiple IOs of the same function also are same,
  *       so only the pointer of unpack_setting_t is stored in hio_t,
- *       the life time and of unpack_setting_t shoud be guaranteed by caller.
+ *       the life time of unpack_setting_t shoud be guaranteed by caller.
  */
 HV_EXPORT void hio_set_unpack(hio_t* io, unpack_setting_t* setting);
 HV_EXPORT void hio_unset_unpack(hio_t* io);

+ 1 - 1
evpp/Channel.h

@@ -295,7 +295,7 @@ public:
      *
      * NOTE: unpack_setting_t of multiple IOs of the same function also are same,
      *       so only the pointer of unpack_setting_t is stored in hio_t,
-     *       the life time and of unpack_setting_t shoud be guaranteed by caller.
+     *       the life time of unpack_setting_t shoud be guaranteed by caller.
      */
     void setUnpack(unpack_setting_t* setting) {
         if (io_ == NULL) return;