1 |
jgs |
82 |
/* |
2 |
|
|
***************************************************************************** |
3 |
|
|
* * |
4 |
|
|
* COPYRIGHT ACcESS - All Rights Reserved * |
5 |
|
|
* * |
6 |
|
|
* This software is the property of ACcESS. No part of this code * |
7 |
|
|
* may be copied in any form or by any means without the expressed written * |
8 |
|
|
* consent of ACcESS. Copying, use or modification of this software * |
9 |
|
|
* by any unauthorised person is illegal unless that person has a software * |
10 |
|
|
* license agreement with ACcESS. * |
11 |
|
|
* * |
12 |
|
|
***************************************************************************** |
13 |
|
|
*/ |
14 |
|
|
#include "compareCCall.h" |
15 |
|
|
|
16 |
|
|
/* |
17 |
|
|
* Return true if all of the calls match the expected values. |
18 |
|
|
* Return false if results don't match. |
19 |
|
|
*/ |
20 |
|
|
int compareCCall(struct escriptDataC* data, int typeResult) |
21 |
|
|
{ |
22 |
|
|
int result=0; |
23 |
|
|
result+=(getFunctionSpaceType(data)==typeResult); |
24 |
|
|
return result; |
25 |
|
|
} |