mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 17:50:23 +00:00
11 lines
433 B
JavaScript
11 lines
433 B
JavaScript
'use strict';
|
|
|
|
// this is called by build.sh to generate the names of the bindings to export
|
|
|
|
let { functions } = require('./parse-api.js');
|
|
let asyncFns = require('./async-fns.js');
|
|
|
|
let extras = ['_set_throwy_error_handler', '_set_noop_error_handler', ...asyncFns.map(f => '_async_' + f)];
|
|
let fns = functions.filter(f => !asyncFns.includes(f.name));
|
|
|
|
console.log(JSON.stringify([...extras, ...functions.map(f => '_' + f.name)]));
|