Remove more insignificant differences with examples in master
Follow the she style of the other existing examples.
This commit is contained in:
parent
faa5d8bbf5
commit
4748e4f379
3 changed files with 7 additions and 7 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue