update swig on windows
This commit is contained in:
13
winx64/bin/swigwin-4.0.0/Examples/php/sync/example.cxx
Normal file
13
winx64/bin/swigwin-4.0.0/Examples/php/sync/example.cxx
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "example.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int x = 42;
|
||||
char *s = (char *)"Test";
|
||||
|
||||
void Sync::printer(void) {
|
||||
|
||||
printf("The value of global s is %s\n", s);
|
||||
printf("The value of global x is %d\n", x);
|
||||
printf("The value of class s is %s\n", s);
|
||||
printf("The value of class x is %d\n", x);
|
||||
}
|
||||
Reference in New Issue
Block a user