Photon-v2 icon indicating copy to clipboard operation
Photon-v2 copied to clipboard

Introducing SDL struct

Open TzuChieh opened this issue 5 years ago • 0 comments

Purposes:

  • Solve the problem when input parameters have the same type and name: they can reside in unique structs now
  • Reuse input parameter declarations and parsing, which is also cleaner
  • Potentially benefit future implementation of OutputPacket and serializations

TODOs:

  • Registering SDL structs
  • A new SDL syntax for structs & parsing them
  • Access SDL values and structs in a unified way (probably via TMP, and access like SDL references)
  • Make sure encapsulating a struct with another one is possible

TzuChieh avatar Sep 13 '19 11:09 TzuChieh