Skip to content

Commit

Permalink
update doc and remove useless declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Oct 12, 2023
1 parent 15969bc commit 60231b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
6 changes: 6 additions & 0 deletions docs/book/cn/regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@



### 视频介绍

<iframe src="//player.bilibili.com/player.html?bvid=BV1b94y187Cs&page=1&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" height="480px" width="100%"> </iframe>



### 头文件

```c
Expand Down
11 changes: 0 additions & 11 deletions include/mln_fec.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ typedef struct {
((_len)=(_result)->packets[(index)]->len, (uint8_t *)((_result)->packets[(index)]->data)))
#define mln_fec_get_result_num(_result) ((_result)->nr_packets)

#ifdef __cplusplus
extern "C" mln_fec_t *mln_fec_new(void);
extern "C" void mln_fec_free(mln_fec_t *fec);
extern "C" mln_fec_result_t *
mln_fec_encode(mln_fec_t *fec, uint8_t *packets[], uint16_t packlen[], size_t n, uint16_t group_size);
extern "C" void mln_fec_result_free(mln_fec_result_t *fr);
extern "C" mln_fec_result_t *
mln_fec_decode(mln_fec_t *fec, uint8_t *packets[], uint16_t *packlen, size_t n);
#else
extern mln_fec_t *mln_fec_new(void);
extern void mln_fec_free(mln_fec_t *fec);
extern mln_fec_result_t *
Expand All @@ -52,5 +43,3 @@ extern void mln_fec_result_free(mln_fec_result_t *fr);
extern mln_fec_result_t *
mln_fec_decode(mln_fec_t *fec, uint8_t *packets[], uint16_t *packlen, size_t n);
#endif

#endif

0 comments on commit 60231b2

Please sign in to comment.