#include <string.h>#include <stdio.h>#include "stack-c.h"Include dependency graph for intex3c.c:

Go to the source code of this file.
Functions | |
| static void not | __PARAMS ((int *iv1, int *iv2, intsize)) |
| int | intex3c (char *fname) |
| static void | not (int *iv1, int *iv2, int size) |
| int intex3c | ( | char * | fname | ) |
Definition at line 18 of file intex3c.c.
References CheckLhs, CheckRhs, CreateVar, GetRhsVar, istk, LhsVar, m1, n1, and not().
00019 { 00020 static int l1,m1, n1,l2; 00021 static int minlhs=1, minrhs=1, maxlhs=1, maxrhs=1; 00022 00023 CheckRhs(minrhs,maxrhs) ; 00024 CheckLhs(minlhs,maxlhs) ; 00025 00026 /* a boolean matrix argument */ 00027 00028 GetRhsVar(1, "b", &m1, &n1, &l1); 00029 00030 /* create a new boolean matrix same size as first argument 00031 * 00032 * note that this is only for illustration since we could directly work 00033 * with istk(l1) which can be modified and returned. 00034 */ 00035 00036 CreateVar(2, "b",&m1,&n1,&l2); 00037 00038 /* fills new matrix */ 00039 00040 not(istk(l2),istk(l1),m1*n1); 00041 00042 LhsVar(1) = 2; /* returns new matrix */ 00043 return 0; 00044 }
Here is the call graph for this function:

1.5.1