reswitched / SwIPC

IPC interface specifications and other useful info
https://reswitched.github.io/SwIPC/
ISC License
50 stars 15 forks source link

Version attribute on service name #40

Open roblabla opened 6 years ago

roblabla commented 6 years ago

We have version flags for cmds, but not for interfaces or service names. That'd be good to have.

interface meh is one, two, @version(2.0.0+) three {}

This looks kinda gross, but could work. Another possibility (although a fairly major departure):

@provides(one)
@provides(two)
@provides(three, 2.0.0+)
interface meh {}