Octave: make texinfo strings static (internal linkage)
This commit is contained in:
parent
7f95c7bb3e
commit
0d05b2a2d1
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ public:
|
||||||
String *escaped_doc_str = texinfo_escape(doc_str);
|
String *escaped_doc_str = texinfo_escape(doc_str);
|
||||||
|
|
||||||
if (Len(doc_str)>0) {
|
if (Len(doc_str)>0) {
|
||||||
Printf(f_doc,"const char* %s_texinfo = ",wrap_name);
|
Printf(f_doc,"static const char* %s_texinfo = ",wrap_name);
|
||||||
Printf(f_doc,"\"-*- texinfo -*-\\n\\\n%s", escaped_doc_str);
|
Printf(f_doc,"\"-*- texinfo -*-\\n\\\n%s", escaped_doc_str);
|
||||||
if (Len(decl_info))
|
if (Len(decl_info))
|
||||||
Printf(f_doc,"\\n\\\n@end deftypefn");
|
Printf(f_doc,"\\n\\\n@end deftypefn");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue