- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for callMulti (0.09 sec)
-
src/cmd/cgo/internal/test/issue20910.c
// license that can be found in the LICENSE file. #include <assert.h> #include <stdlib.h> #include <string.h> #include "_cgo_export.h" /* Test calling a Go function with multiple return values. */ void callMulti(void) { struct multi_return result = multi(); assert(strcmp(result.r0, "multi") == 0); assert(result.r1 == 0); free(result.r0);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 459 bytes - Viewed (0) -
src/cmd/cgo/internal/test/testx.go
// #include'd twice. No runtime test; just make sure it compiles. #include "issue8331.h" // issue 8945 typedef void (*PFunc8945)(); extern PFunc8945 func8945; // definition is in test.go // issue 20910 void callMulti(void); // issue 28772 part 2 - part 1 in issuex.go #define issue28772Constant2 2 // issue 31891 typedef struct { long obj; } Issue31891A; typedef struct { long obj;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 10.6K bytes - Viewed (0)