15 months ago | Paul Boddie | raw annotate files changeset graph | Switched from using "#pragma once" to defining and testing interface-specific identifiers so that multiple copies of any given header file can be deployed without these being treated as distinct files. |
1 interface CalcPrivate 2 { 3 void add(in int left, in int right, out int result); 4 void subtract(in int left, in int right, out int result); 5 void multiply(in int left, in int right, out int result); 6 void divide(in int numerator, in int denominator, out int result); 7 [completion] void pow(in double base, in double exponent, out double result); 8 };