#include <stdio.h>#include <string.h>#include "machine.h"Include dependency graph for fromc.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| int | C2F (intfromc) _PARAMS((char *fname)) |
| void | SetFromCToON (void) |
| int | IsFromC (void) |
| int C2F | ( | intfromc | ) |
Definition at line 17 of file sci_fromc.c.
References C2F, CheckLhs, CheckRhs, CreateVarFromPtr, FALSE, FREE, IsFromC(), LhsVar, MALLOC, Max, n1, NULL, putlhsvar(), Rhs, and TRUE.
00018 { 00019 static int n1; 00020 int *paramoutINT=(int*)MALLOC(sizeof(int)); 00021 00022 Rhs = Max(0, Rhs); 00023 CheckRhs(0,0); 00024 CheckLhs(1,1); 00025 00026 if ( IsFromC() ) 00027 { 00028 *paramoutINT=(int)(TRUE); 00029 } 00030 else 00031 { 00032 *paramoutINT=(int)(FALSE); 00033 } 00034 00035 n1=1; 00036 CreateVarFromPtr(1, "b", &n1, &n1, ¶moutINT); 00037 LhsVar(1)=1; 00038 C2F(putlhsvar)(); 00039 if (paramoutINT) {FREE(paramoutINT);paramoutINT=NULL;} 00040 00041 return 0; 00042 }
Here is the call graph for this function:

| void SetFromCToON | ( | void | ) |
1.5.1