cstrings.swg: fix function names inside comments (#790)
This commit is contained in:
parent
87f14a96b5
commit
902f5d3f32
1 changed files with 3 additions and 3 deletions
|
|
@ -203,7 +203,7 @@
|
||||||
* This macro is used to return Character data along with a size
|
* This macro is used to return Character data along with a size
|
||||||
* parameter.
|
* parameter.
|
||||||
*
|
*
|
||||||
* %cstring_output_maxsize(Char *outx, int *max) {
|
* %cstring_output_withsize(Char *outx, int *max) {
|
||||||
* void foo(Char *outx, int *max) {
|
* void foo(Char *outx, int *max) {
|
||||||
* sprintf(outx,"blah blah\n");
|
* sprintf(outx,"blah blah\n");
|
||||||
* *max = strlen(outx);
|
* *max = strlen(outx);
|
||||||
|
|
@ -236,7 +236,7 @@
|
||||||
* This macro is used to return Character data that was
|
* This macro is used to return Character data that was
|
||||||
* allocated with new or malloc.
|
* allocated with new or malloc.
|
||||||
*
|
*
|
||||||
* %cstring_output_allocated(Char **outx, free($1));
|
* %cstring_output_allocate(Char **outx, free($1));
|
||||||
* void foo(Char **outx) {
|
* void foo(Char **outx) {
|
||||||
* *outx = (Char *) malloc(512);
|
* *outx = (Char *) malloc(512);
|
||||||
* sprintf(outx,"blah blah\n");
|
* sprintf(outx,"blah blah\n");
|
||||||
|
|
@ -263,7 +263,7 @@
|
||||||
* This macro is used to return Character data that was
|
* This macro is used to return Character data that was
|
||||||
* allocated with new or malloc.
|
* allocated with new or malloc.
|
||||||
*
|
*
|
||||||
* %cstring_output_allocated(Char **outx, int *sz, free($1));
|
* %cstring_output_allocate_size(Char **outx, int *sz, free($1));
|
||||||
* void foo(Char **outx, int *sz) {
|
* void foo(Char **outx, int *sz) {
|
||||||
* *outx = (Char *) malloc(512);
|
* *outx = (Char *) malloc(512);
|
||||||
* sprintf(outx,"blah blah\n");
|
* sprintf(outx,"blah blah\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue