/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/guile/matrix/example.i
21 строка
403 B
William S Fulton
Fix guile examples for C11 and later conformance
15 ноя 2021, 22:25
15 ноя 2021, 22:25
e6b6fa9
Код
Авторство
О чём код?
/*** Matrix and vector example ***/ %module Matrix %{ #include <math.h> %} %include guilemain.i %include matrix.i %include vector.i // Include the math library so we can get some random numbers and // other stuff %include math.i %{ /* Add drand48 declaration as it is posix only and is not in stdlib.h when using strict c99 and later */ extern double drand48(void); %} extern double drand48(void);