1 |
ksteube |
1312 |
|
2 |
|
|
/* $Id$ */ |
3 |
|
|
|
4 |
|
|
/******************************************************* |
5 |
|
|
* |
6 |
|
|
* Copyright 2003-2007 by ACceSS MNRF |
7 |
|
|
* Copyright 2007 by University of Queensland |
8 |
|
|
* |
9 |
|
|
* http://esscc.uq.edu.au |
10 |
|
|
* Primary Business: Queensland, Australia |
11 |
|
|
* Licensed under the Open Software License version 3.0 |
12 |
|
|
* http://www.opensource.org/licenses/osl-3.0.php |
13 |
|
|
* |
14 |
|
|
*******************************************************/ |
15 |
|
|
|
16 |
jgs |
82 |
#include "compareCCall.h" |
17 |
|
|
|
18 |
|
|
/* |
19 |
|
|
* Return true if all of the calls match the expected values. |
20 |
|
|
* Return false if results don't match. |
21 |
|
|
*/ |
22 |
|
|
int compareCCall(struct escriptDataC* data, int typeResult) |
23 |
|
|
{ |
24 |
|
|
int result=0; |
25 |
|
|
result+=(getFunctionSpaceType(data)==typeResult); |
26 |
|
|
return result; |
27 |
|
|
} |