Add a newline to every sol file missing one

This commit is contained in:
Rapptz 2014-05-29 01:47:27 -04:00
parent accfd0f7a7
commit f9b6cf1595
15 changed files with 18 additions and 18 deletions

View File

@ -26,4 +26,4 @@
#include "sol/object.hpp" #include "sol/object.hpp"
#include "sol/function.hpp" #include "sol/function.hpp"
#endif // SOL_HPP #endif // SOL_HPP

View File

@ -68,4 +68,4 @@ std::string demangle(const std::type_info& id) {
} // detail } // detail
} // sol } // sol
#endif // SOL_DEMANGLE_HPP #endif // SOL_DEMANGLE_HPP

View File

@ -32,4 +32,4 @@
#endif // compilers #endif // compilers
#endif // SOL_DEPRECATED #endif // SOL_DEPRECATED
#endif // SOL_DEPRECATE_HPP #endif // SOL_DEPRECATE_HPP

View File

@ -32,4 +32,4 @@ public:
}; };
} // sol } // sol
#endif // SOL_ERROR_HPP #endif // SOL_ERROR_HPP

View File

@ -36,7 +36,7 @@ private:
template<typename... Ret> template<typename... Ret>
std::tuple<Ret...> invoke(types<Ret...>, std::size_t n) { std::tuple<Ret...> invoke(types<Ret...>, std::size_t n) {
luacall(n, sizeof...(Ret)); luacall(n, sizeof...(Ret));
return stack::pop_reverse_call(state(), std::make_tuple<Ret...>, types<Ret...>()); return stack::pop_reverse_call(state(), std::make_tuple<Ret...>, types<Ret...>());
} }
@ -71,7 +71,7 @@ public:
typename return_type<Ret...>::type operator()(types<Ret...>, Args&&... args) { typename return_type<Ret...>::type operator()(types<Ret...>, Args&&... args) {
return call<Ret...>(std::forward<Args>(args)...); return call<Ret...>(std::forward<Args>(args)...);
} }
template<typename... Ret, typename... Args> template<typename... Ret, typename... Args>
typename return_type<Ret...>::type call(Args&&... args) { typename return_type<Ret...>::type call(Args&&... args) {
push(); push();

View File

@ -19,8 +19,8 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef SOL_LUA_FUNC_HPP #ifndef SOL_FUNCTION_TYPES_HPP
#define SOL_LUA_FUNC_HPP #define SOL_FUNCTION_TYPES_HPP
#include "stack.hpp" #include "stack.hpp"
#include <memory> #include <memory>
@ -283,4 +283,4 @@ struct userdata_function : public base_function {
} // sol } // sol
#endif // SOL_LUA_FUNC_HPP #endif // SOL_FUNCTION_TYPES_HPP

View File

@ -68,4 +68,4 @@ inline bool operator!=(const nil_t&, const object& rhs) {
} }
} // sol } // sol
#endif // SOL_OBJECT_HPP #endif // SOL_OBJECT_HPP

View File

@ -126,4 +126,4 @@ inline bool operator!= (const proxy<Table, Key>& right, T&& left) {
return right.template get<Decay<T>>() != left; return right.template get<Decay<T>>() != left;
} }
} // sol } // sol

View File

@ -92,4 +92,4 @@ public:
}; };
} // sol } // sol
#endif // SOL_REFERENCE_HPP #endif // SOL_REFERENCE_HPP

View File

@ -351,4 +351,4 @@ struct get_return {
} // stack } // stack
} // sol } // sol
#endif // SOL_STACK_HPP #endif // SOL_STACK_HPP

View File

@ -208,4 +208,4 @@ public:
}; };
} // sol } // sol
#endif // SOL_STATE_HPP #endif // SOL_STATE_HPP

View File

@ -261,4 +261,4 @@ private:
}; };
} // sol } // sol
#endif // SOL_TABLE_HPP #endif // SOL_TABLE_HPP

View File

@ -147,4 +147,4 @@ struct function_traits<R(*)(Args...)> {
}; };
} // sol } // sol
#endif // SOL_TRAITS_HPP #endif // SOL_TRAITS_HPP

View File

@ -81,4 +81,4 @@ const auto default_constructor = constructors<types<>>{};
} // sol } // sol
#endif // SOL_TUPLE_HPP #endif // SOL_TUPLE_HPP

View File

@ -160,4 +160,4 @@ inline bool operator==(nil_t, nil_t) { return true; }
inline bool operator!=(nil_t, nil_t) { return false; } inline bool operator!=(nil_t, nil_t) { return false; }
} // sol } // sol
#endif // SOL_TYPES_HPP #endif // SOL_TYPES_HPP