summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/gd_function.h')
-rw-r--r--modules/gdscript/gd_function.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_function.h b/modules/gdscript/gd_function.h
index 1f790eaadc..942db170c8 100644
--- a/modules/gdscript/gd_function.h
+++ b/modules/gdscript/gd_function.h
@@ -160,6 +160,7 @@ public:
int get_default_argument_count() const;
int get_default_argument_addr(int p_idx) const;
GDScript *get_script() const { return _script; }
+ StringName get_source() const { return source; }
void debug_get_stack_member_state(int p_line,List<Pair<StringName,int> > *r_stackvars) const;