MCPcopy Create free account
hub / github.com/Tencent/xLua / SetGenInterfaces

Method SetGenInterfaces

Assets/XLua/Src/CodeEmit.cs:379–388  ·  view source on GitHub ↗
(List<Type> gen_interfaces)

Source from the content-addressed store, hash-verified

377 HashSet<Type> gen_interfaces = new HashSet<Type>();
378
379 public void SetGenInterfaces(List<Type> gen_interfaces)
380 {
381 gen_interfaces.ForEach((item) =>
382 {
383 if (!this.gen_interfaces.Contains(item))
384 {
385 this.gen_interfaces.Add(item);
386 }
387 });
388 }
389
390 public Type EmitInterfaceImpl(Type to_be_impl)
391 {

Callers 1

initCSharpCallLuaMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected