LuaHelpers.h 453 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/IO/GenericStreams.h>
  10. #include <AzCore/Script/ScriptContext.h>
  11. namespace LuaBuilder
  12. {
  13. // Write a lua function to a stream
  14. bool LuaDumpToStream(AZ::IO::GenericStream& stream, lua_State* lua);
  15. }