From 6ba69bd8da0bffd3352518d1f00931d55168becc Mon Sep 17 00:00:00 2001 From: Jeremy Ong Date: Fri, 14 Feb 2014 18:41:41 -0800 Subject: [PATCH] Add missing string header to primitives file. --- include/exotics.h | 3 +-- include/primitives.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/exotics.h b/include/exotics.h index 20a4ef6..12177a0 100644 --- a/include/exotics.h +++ b/include/exotics.h @@ -1,7 +1,6 @@ #pragma once #include "function.h" -#include "primitives.h" /* * Extends manipulation of primitives on the stack with more exotic @@ -25,7 +24,7 @@ inline sel::function _get(_id> id, } template -void _push(lua_State *l, sel::function fun) { +inline void _push(lua_State *l, sel::function fun) { fun.Push(l); } diff --git a/include/primitives.h b/include/primitives.h index a32baa9..953e7f0 100644 --- a/include/primitives.h +++ b/include/primitives.h @@ -1,5 +1,6 @@ #pragma once +#include #include "traits.h" extern "C" {