summaryrefslogtreecommitdiffstats
path: root/docs/user-guide/a1-04-interop.md
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-10-25 21:12:37 -0700
committerGitHub <noreply@github.com>2024-10-25 21:12:37 -0700
commita508b264eda4bc3c99ba1f44eab1dec6e5ce06c0 (patch)
tree717722aefcae6b2a5adbccfbcd8aece4ed81f0b7 /docs/user-guide/a1-04-interop.md
parent49c691e86862d092cd389a02beb4003ee59a4417 (diff)
Swap the term StdLib with Core-Module or Standard-Module in documents (#5414)
This PR is limited to documents. All use of "Standard library" or "StdLib" are replaced with either "core module" or "standard modules", depending on the context.
Diffstat (limited to 'docs/user-guide/a1-04-interop.md')
-rw-r--r--docs/user-guide/a1-04-interop.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/a1-04-interop.md b/docs/user-guide/a1-04-interop.md
index a13f75c48..a13bb5ca2 100644
--- a/docs/user-guide/a1-04-interop.md
+++ b/docs/user-guide/a1-04-interop.md
@@ -110,7 +110,7 @@ void test_0()
The strings in `__requirePrelude` are deduplicated: the same prelude string will only be emitted once no matter how many times an intrinsic function is invoked. Therefore, it is good practice to put `#include` lines as separate `__requirePrelude` statements to prevent duplicate `#include`s being generated in the output code.
## Managing Cross-Platform Code
-If you are defining an intrinsic function that maps to multiple targets in different ways, you can use `__target_switch` construct to manage the target-specific definitions. For example, here is a snippet from Slang's builtin standard library that defines `getRealtimeClock`:
+If you are defining an intrinsic function that maps to multiple targets in different ways, you can use `__target_switch` construct to manage the target-specific definitions. For example, here is a snippet from the Slang core module that defines `getRealtimeClock`:
```hlsl
[__requiresNVAPI]
__glsl_extension(GL_EXT_shader_realtime_clock)