skia2/include/sksl/DSL.h
Ethan Nicholas daed2592bb Made SkSL DSL into public API
In addition to the unsurprising changes to eliminate references to
src/, we also had to tighten up some C++17-isms as they are not
permitted in public headers.

Change-Id: Ie5005a33d7a135e69fb66beca5e7a5f960dbd453
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/378496
Reviewed-by: Brian Osman <brianosman@google.com>
2021-03-04 21:03:58 +00:00

31 lines
516 B
C++

/*
* Copyright 2020 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SKSL_DSL
#define SKSL_DSL
#include "include/sksl/DSLCore.h"
namespace SkSL {
namespace dsl {
using Block = DSLBlock;
using Case = DSLCase;
using Expression = DSLExpression;
using Field = DSLField;
using Function = DSLFunction;
using Modifiers = DSLModifiers;
using Statement = DSLStatement;
using Var = DSLVar;
} // namespace dsl
} // namespace SkSL
#endif