Skip to content

Commit 4a2ba75

Browse files
committed
ifndef gruards
1 parent 16c7e09 commit 4a2ba75

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

qt-5-pyqt5/src/scripter.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef SCRIPTER_H
2+
#define SCRIPTER_H
13
#include <string>
24
#include <QString>
35

@@ -15,3 +17,4 @@ class Scripter
1517
private:
1618
py::scoped_interpreter guard{}; // start the interpreter and keep it alive
1719
};
20+
#endif

qt-5-pyqt5/src/scripterAPI.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
#ifndef SCRIPTERAPI_H
2+
#define SCRIPTERAPI_H
13
struct ScripterAPI
24
{
35
int bar = 1;
46
};
7+
#endif

0 commit comments

Comments
 (0)