ni-sync-rs 23.8.0

Rust bindings for the NI Sync API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/bash

#$header_dir = 'C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\include'
#$llvm_inputs = '-I' + $header_dir;

#$allow_pattern = 'DAQmx.*'
#$allow_lists = '--allowlist-type', $allow_pattern, '--allowlist-function',$allow_pattern,'--allowlist-var', $allow_pattern

#bindgen 'include/wrapper.h' -o 'src/bindings.rs' $allow_lists --default-macro-constant-type signed -- $llvm_inputs
#

ALLOW_PATTERN=

bindgen 'include/wrapper.h' -o 'src/bindings.rs' --allowlist-type 'NISYNC.*' --allowlist-function 'niSync.*' --allowlist-var 'NISYNC.*' --default-macro-constant-type signed -- -I /usr/include/ni-visa