Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Romin Tomasetti
gmsh
Commits
70a46884
Commit
70a46884
authored
4 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
catch(...) in gmshc, as string message is not used
parent
cc1f9a43
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
api/GenApi.py
+1
-1
1 addition, 1 deletion
api/GenApi.py
api/gmshc.cpp
+286
-286
286 additions, 286 deletions
api/gmshc.cpp
with
287 additions
and
287 deletions
api/GenApi.py
+
1
−
1
View file @
70a46884
...
@@ -1278,7 +1278,7 @@ class API:
...
@@ -1278,7 +1278,7 @@ class API:
fc
.
write
(
cpp_namespace
+
name
+
"
(
"
+
fc
.
write
(
cpp_namespace
+
name
+
"
(
"
+
"
,
"
.
join
(
list
((
a
.
c_arg
for
a
in
args
)))
+
"
);
\n
"
)
"
,
"
.
join
(
list
((
a
.
c_arg
for
a
in
args
)))
+
"
);
\n
"
)
fc
.
write
(
""
.
join
((
a
.
c_post
for
a
in
args
)))
fc
.
write
(
""
.
join
((
a
.
c_post
for
a
in
args
)))
fc
.
write
(
"
}
\n
catch(
const std::string &api_error_
){
\n
"
+
fc
.
write
(
"
}
\n
catch(
...
){
\n
"
+
"
if(ierr) *ierr = 1;
\n
}
\n
"
)
"
if(ierr) *ierr = 1;
\n
}
\n
"
)
if
rtype
:
if
rtype
:
fc
.
write
(
"
return result_api_;
\n
"
)
fc
.
write
(
"
return result_api_;
\n
"
)
...
...
This diff is collapsed.
Click to expand it.
api/gmshc.cpp
+
286
−
286
View file @
70a46884
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment