Closed hazeycode closed 5 years ago
Should be something like
package generatebindings import "bindgen" main :: proc() { options : bindgen.GeneratorOptions; bindgen.generate( packageName="hello", foreignLibrary="system:libHello", outputFile="hello.odin", headerFiles=[]string{"./hello.h"}, options = options, ); }
Indeed, the options was wrong, thanks for reporting.
options
main :: proc should also be main ::proc()
main :: proc
main ::proc()
Should be something like