py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper.

This commit is contained in:
Damien George
2014-12-29 01:02:19 +00:00
parent f89d659e3b
commit 9ddbe291c4
9 changed files with 37 additions and 15 deletions

View File

@@ -23,12 +23,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef __MICROPY_INCLUDED_PY_MISC_H__
#define __MICROPY_INCLUDED_PY_MISC_H__
// a mini library of useful types and functions
#ifndef _INCLUDED_MINILIB_H
#define _INCLUDED_MINILIB_H
/** types *******************************************************/
#include <stdbool.h>
@@ -185,4 +184,4 @@ static inline mp_uint_t count_lead_ones(byte val) {
}
#endif
#endif // _INCLUDED_MINILIB_H
#endif // __MICROPY_INCLUDED_PY_MISC_H__