Emil Velikov <emil.l.veli...@gmail.com> writes: > - Seems like the exports from mi/ are remnants from the separate > (non-builtin) extmod days. > > Not 100% sure though. Can anyone please shed some light ?
_X_EXPORT is intended to mark the boundary between 'internal' bits of the server and 'public' bits. So even when not using modules which require actual symbol table stuff, it's useful to describe what constitutes this interface. Things marked _X_EXPORT are likely to be used by code which you are not running, so changes to them need to be reviewed by people with an eye towards preserving compatibility or (at least) catching errors at compile time. Interfaces not marked _X_EXPORT are only used within the "core server", and so can be changed without as much regard to potential incompatibility issues. In this particular case, the function in question is used by a piece of code run in a very specialized environment (Xwayland), so I wanted to note that it was part of this special class of functions. -- -keith
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel