File: missing_header.patch

package info (click to toggle)
libsbml 5.19.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 115,608 kB
  • sloc: cpp: 460,814; xml: 340,122; ansic: 53,825; python: 12,463; makefile: 9,744; sh: 8,893; cs: 8,586; java: 8,151; perl: 6,133; ruby: 4,760; javascript: 1,605; php: 202; csh: 3
file content (18 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: the FbcAssociation header has to be included in the matlab
 bindings, as they use the FbcAssociation class
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/sbmlteam/libsbml/issues/282
Last-Update: 2022-11-26

--- a/src/bindings/matlab/StructureFields.cpp
+++ b/src/bindings/matlab/StructureFields.cpp
@@ -9,6 +9,9 @@
 #include <sbml/extension/SBasePlugin.h>
 #include <sbml/extension/SBMLExtensionRegistry.h>
 
+#ifdef USE_FBC
+#include <sbml/packages/fbc/sbml/FbcAssociation.h>
+#endif
 
 #ifdef USE_OCTAVE
 // this function is not implemented in octave