Remove more insignificant differences with examples in master

Follow the she style of the other existing examples.
This commit is contained in:
Vadim Zeitlin 2022-01-15 16:46:34 +01:00
commit 4748e4f379
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,6 @@
/* File : example.h */
#include <string.h>
#ifndef SWIG
struct A {
};
@ -10,7 +11,7 @@ class Exc {
public:
Exc(int c, const char *m) {
code = c;
strncpy(msg,m,256);
strncpy(msg,m,255);
}
int code;
char msg[256];