summaryrefslogtreecommitdiff
path: root/docs/yaml/objects
diff options
context:
space:
mode:
Diffstat (limited to 'docs/yaml/objects')
-rw-r--r--docs/yaml/objects/compiler.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml
index d5d7df569..977cbdf0d 100644
--- a/docs/yaml/objects/compiler.yaml
+++ b/docs/yaml/objects/compiler.yaml
@@ -327,6 +327,17 @@ methods:
type: str
description: The define to check.
+- name: has_define
+ returns: bool
+ since: 1.3.0
+ description: |
+ Returns true if the given preprocessor symbol is *defined*.
+ kwargs_inherit: compiler._common
+ posargs:
+ definename:
+ type: str
+ description: The define to check.
+
- name: compiles
returns: bool
description: Returns true if the code compiles.