mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
648bcd1505
This patch unifies the patterns of using the 'Genode' and 'Libc' namespaces. Types defined in the 'internal/' headers reside in the 'Libc' namespace. The code in the headers does not need to use the 'Libc::' prefix. Compilation units import the 'Libc' namespace after the definition of local types. Local types reside in the 'Libc' namespace (and should eventually move to an 'internal/' header). Since the 'Libc' namespace imports the 'Genode' namespace, there is no need to use the 'Genode::' prefix. Consequently, code in the compilation units rarely need to qualify the 'Genode' or 'Libc' namespaces. There are a few cases where the 'Libc', the 'Genode', and the global (libc) namespaces are ambigious. In these cases, an explicit clarification is needed: - 'Genode::Allocator' differs from 'Libc::Allocator'. - 'Genode::Env' differs from 'Libc::Env'. - Genode's string functions (strcmp, memcpy, strcpy) conflict with the names of the (global) libc functions. - There exist both 'Genode::uint64_t' and the libc'c 'uint64_t'. Issue #3497 |
||
---|---|---|
.. | ||
curl | ||
drm | ||
egl | ||
expat | ||
freetype | ||
gmp | ||
icu | ||
jbig2dec | ||
jpeg | ||
libarchive | ||
libc | ||
libcrypto | ||
libiconv | ||
liblzma | ||
libm | ||
libpng | ||
libsanitizer_common | ||
libsparkcrypto | ||
libssh | ||
libssl | ||
libubsan | ||
mesa | ||
mpc | ||
mpfr | ||
mupdf | ||
ncurses | ||
openjpeg | ||
pcre | ||
pcre16 | ||
posix | ||
python | ||
qt5_component | ||
qt5_qnitpickerviewwidget | ||
qt5_qpa_nitpicker | ||
qt5_qpluginwidget | ||
solo5 | ||
spark | ||
stdcxx | ||
zlib |