summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-06-26 09:32:40 -0700
committerTim Foley <tfoley@nvidia.com>2017-06-26 12:06:54 -0700
commit7d3bfe403362b294cc2a1f2607d51dfcd447aafd (patch)
tree4dac8dcdb29a0d8e74f78f12c0bbe63e669b2b0c /slang.h
parent3f316dcbd9274efc74f817cf36f17a511ff2e21e (diff)
Replace "auto-import" with `#import`
Right now `#import` only differs from `#include` in that it takes a string literal for a file name instead of a raw identifier (to which `.slang` gets appended). The next step is to make `#import` respect preprocessor state, while `__import` doesn't.
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/slang.h b/slang.h
index 91347d024..91b9f5931 100644
--- a/slang.h
+++ b/slang.h
@@ -204,16 +204,6 @@ extern "C"
const char* searchDir);
/*!
- @brief Add a path to use when searching for referenced files, that automatically treats `#include` as `__import`
- This behaves just like `spAddSearchPath()` except that any `#include` file found through this path
- will be treated as if it was referenced with `__import`.
- @param ctx The compilation context.
- @param searchDir The additional search directory.
- */
- SLANG_API void spAddAutoImportPath(
- SlangCompileRequest* request,
- const char* searchDir);
- /*!
@brief Add a macro definition to be used during preprocessing.
@param key The name of the macro to define.
@param value The value of the macro to define.