File tree Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 1
1
%module argcargvtest
2
2
3
+ #if !defined(SWIGCSHARP) && !defined(SWIGD) && !defined(SWIGGO) && !defined(SWIGGUILE) && !defined(SWIGJAVA) && !defined(SWIGJAVASCRIPT) && !defined(SWIGMZSCHEME) && !defined(SWIGOCTAVE) && !defined(SWIGR) && !defined(SWIGSCILAB)
3
4
%include <argcargv.i>
4
5
5
6
%apply (int ARGC, char **ARGV) { (size_t argc, const char **argv) }
7
+ #endif
6
8
7
9
%inline %{
8
10
Original file line number Diff line number Diff line change 2
2
* --- Argc & Argv ---
3
3
* ------------------------------------------------------------ */
4
4
5
- %typemap(default ) (int ARGC, char **ARGV) {
6
- $1 = 0 ; $2 = NULL ;
7
- }
8
-
9
5
%typemap(in) (int ARGC, char **ARGV) {
10
6
int i;
11
7
I32 len;
Original file line number Diff line number Diff line change 2
2
* --- Argc & Argv ---
3
3
* ------------------------------------------------------------ */
4
4
5
- %typemap(default ) (int ARGC, char **ARGV) {
6
- $1 = 0 ; $2 = NULL ;
7
- }
8
-
9
5
%typemap(in) (int ARGC, char **ARGV) {
10
6
int len, i;
11
7
zval *val;
Original file line number Diff line number Diff line change 2
2
* --- Argc & Argv ---
3
3
* ------------------------------------------------------------ */
4
4
5
- %typemap(default ) (int ARGC, char **ARGV) {
6
- $1 = 0 ; $2 = NULL ;
7
- }
8
-
9
5
%typemap(in) (int ARGC, char **ARGV) {
10
6
int i, nitems;
11
7
Tcl_Obj **listobjv;
You can’t perform that action at this time.
0 commit comments