source: trunk/Python/src/tests_jmodelica/files/Modelica/Resources/src/addNumbers.c @ 13703

Last change on this file since 13703 was 13703, checked in by Christian Andersson, 2 months ago

Reverted changeset:13700. Related to ticket:5837

File size: 238 bytes
Line 
1#include "addNumbers.h"
2
3double add(double a, double b)
4{
5  return a+b;
6}
7
8void multiplyAnArray(int* inputs, int* outputs, int size, int m)
9{
10  int i;
11  for (i = 0; i < size; i++) {
12      outputs[i] = inputs[i] * m;
13  }
14
15}
Note: See TracBrowser for help on using the repository browser.