Fix crash in php example

Declaration and definition of the add function were different
This commit is contained in:
William S Fulton 2014-02-15 19:34:42 +00:00
commit 8e6a539d89

View file

@ -1,6 +1,6 @@
/* File : example.c */
void add(double *x, double *y, double *result) {
void add(int *x, int *y, int *result) {
*result = *x + *y;
}