15 lines
148 B
Go
15 lines
148 B
Go
|
package main
|
||
|
|
||
|
/*
|
||
|
#include <stdio.h>
|
||
|
#include <math.h>
|
||
|
|
||
|
#include <calc.h>
|
||
|
*/
|
||
|
import "C"
|
||
|
import "fmt"
|
||
|
|
||
|
func main() {
|
||
|
fmt.Println(C.addition(1, 2))
|
||
|
}
|