svf-lib 1.0.2264 → 1.0.2265

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -324,10 +324,11 @@ class SVFFunctionType : public SVFType
324
324
  private:
325
325
  const SVFType* retTy;
326
326
  std::vector<const SVFType*> params;
327
+ bool varArg;
327
328
 
328
329
  public:
329
- SVFFunctionType(const SVFType* rt, const std::vector<const SVFType*>& p)
330
- : SVFType(false, SVFFunctionTy, 1), retTy(rt), params(p)
330
+ SVFFunctionType(const SVFType* rt, const std::vector<const SVFType*>& p, bool isvararg)
331
+ : SVFType(false, SVFFunctionTy, 1), retTy(rt), params(p), varArg(isvararg)
331
332
  {
332
333
  }
333
334
 
@@ -345,6 +346,12 @@ public:
345
346
  return params;
346
347
  }
347
348
 
349
+
350
+ bool isVarArg() const
351
+ {
352
+ return varArg;
353
+ }
354
+
348
355
  void print(std::ostream& os) const override;
349
356
  };
350
357
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2264",
3
+ "version": "1.0.2265",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {