Created
October 9, 2013 15:23
-
-
Save rfaisal/6903022 to your computer and use it in GitHub Desktop.
Thrift file for a simple math library.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace java org.rfaisal.math | |
| namespace csharp Math | |
| service MathService{ | |
| i32 add (1:i32 a, 2:i32 b), | |
| i32 sub (1:i32 a, 2:i32 b), | |
| i32 mul (1:i32 a, 2:i32 b), | |
| i32 div (1:i32 a, 2:i32 b), | |
| i32 mod (1:i32 a, 2:i32 b) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment