-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gogensig:third file temp to libname_autogen.go
- Loading branch information
1 parent
18f2b80
commit e732508
Showing
10 changed files
with
59 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
#include "type.h" | ||
#include <cJSON.h> | ||
#include <stddef.h> | ||
#include <thirddep.h> | ||
#include <thirddep2.h> | ||
#include "type.h" | ||
#include <thirddep3.h> | ||
// This file is supposed to depend on cjson in its cflags, but for testing, | ||
// we will simulate its API using libcjson instead. | ||
// "cflags" :"$(pkg-config --cflags libcjson)" | ||
cJSON* create_response(int status_code, const char* message); | ||
cJSON *create_response(int status_code, const char *message); | ||
|
||
cJSON_bool parse_client_request(const char* json_string, char* error_buffer, size_t buffer_size); | ||
cJSON_bool parse_client_request(const char *json_string, char *error_buffer, size_t buffer_size); | ||
|
||
cJSON_bool serialize_response(cJSON *response, char *buffer, const int length, const cJSON_bool pretty_print); | ||
|
||
third_dep third_depfn(third_dep *a, third_dep2 *b,_depcjson_type c,basic_dep d); | ||
third_dep third_depfn(third_dep *a, third_dep2 *b, _depcjson_type c, basic_dep d); | ||
|
||
third_dep3 third_type(third_dep3 *a); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
struct third_dep3 { | ||
long b; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "thirddep3", | ||
"include": [ | ||
"thirddep3.h" | ||
], | ||
"cplusplus": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
third_dep3 ThirdDep3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package thirddep2 | ||
|
||
import ( | ||
_ "unsafe" | ||
|
||
"github.com/goplus/llgo/c" | ||
) | ||
|
||
type ThirdDep3 struct { | ||
C c.Long | ||
} |