lib.odin 198 B

1234567891011121314
  1. package library
  2. @(export)
  3. foo_add :: proc "c" (a, b: int) -> (res: int) {
  4. return a + b
  5. }
  6. @(export)
  7. bar_sub :: proc "c" (a, b: int) -> (res: int) {
  8. return a - b
  9. }
  10. @(export)
  11. foo_hellope: i32 = 42