Fix crash in php example
Declaration and definition of the add function were different
This commit is contained in:
parent
cd2e301ea4
commit
8e6a539d89
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue