static int pass_struct2(int a, struct2 x)
 {
     if (a != 3)
     {
         return(3);
     }
     return(check_struct2(x));
 }
 static int check_struct2(struct2 x)
 {
     if (x.a != 1)
     {
         return(1);
     }
     return(0);
 }
 static int pass_struct2(int a, int b, struct2 x)
 {
     if (a != 3)
     {
         return(3);
     }
     if (b != 4)
     {
         return(4);
     }
     return(check_struct2(x));
 }
Exemple #4
0
	static int pass_struct2(struct2 x) {
		return check_struct2(x);
	}
Exemple #5
0
	static int pass_struct2(int a, struct2 x) {
		if (a != 3)
			return 3;
		return check_struct2(x);
	}
Exemple #6
0
	static int pass_struct2(int a, int b, struct2 x) {
		if (a != 3)
			return 3;
		if (b != 4)
			return 4;
		return check_struct2(x);
	}
Exemple #7
0
	static int check_struct2(struct2 x) {
		if (x.a != 1)
			return 1;
		return 0;
	}
 static int pass_struct2(struct2 x)
 {
     return(check_struct2(x));
 }