{"action":"closed","issue":{"url":"https://api.github.com/repos/ochafik/nativelibs4java/issues/470","labels_url":"https://api.github.com/repos/ochafik/nativelibs4java/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/ochafik/nativelibs4java/issues/470/comments","events_url":"https://api.github.com/repos/ochafik/nativelibs4java/issues/470/events","html_url":"https://github.com/ochafik/nativelibs4java/issues/470","id":25068753,"number":470,"title":"JNAerator: Function missing with certain order of header files","user":{"login":"hastebrot","id":496255,"avatar_url":"https://avatars.githubusercontent.com/u/496255?v=3","gravatar_id":"","url":"https://api.github.com/users/hastebrot","html_url":"https://github.com/hastebrot","followers_url":"https://api.github.com/users/hastebrot/followers","following_url":"https://api.github.com/users/hastebrot/following{/other_user}","gists_url":"https://api.github.com/users/hastebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hastebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hastebrot/subscriptions","organizations_url":"https://api.github.com/users/hastebrot/orgs","repos_url":"https://api.github.com/users/hastebrot/repos","events_url":"https://api.github.com/users/hastebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hastebrot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ochafik/nativelibs4java/labels/JNAerator","name":"JNAerator","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-01-05T10:38:16Z","updated_at":"2015-03-18T10:04:16Z","closed_at":"2015-03-18T10:04:16Z","body":"Hi!\r\n\r\nI use the LLVM 3.3 C headers (http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz) with JNAerator 0.11 (or 0.12-SNAPSHOT-20130727) under Windows 7 and Java 8.0-EA.\r\n\r\nAfter I generate the java file, the function `LLVMCreateExecutionEngineForModule` from `$(LLVM_HOME)/include/llvm-c/ExecutionEngine.h` is missing in `src/main/java/org/llvm/binding/LLVMLibrary.java`.\r\n\r\nHere is my `llvm.jnaerator`:\r\n\r\n```\r\n-library LLVM\r\n-limitComments\r\n-mode Directory\r\n-package org.llvm.binding\r\n-o $(DIR)/src/main/java\r\n-I$(LLVM_HOME)/include/llvm-c/\r\n\r\n$(LLVM_HOME)/include/llvm-c/Core.h\r\n$(LLVM_HOME)/include/llvm-c/Disassembler.h\r\n$(LLVM_HOME)/include/llvm-c/ExecutionEngine.h\r\n```\r\n\r\nIf I change the order of the header files, the java file will contain `LLVMCreateExecutionEngineForModule`. Here are some permutations:\r\n\r\nFunction missing: Core.h, Disassembler.h, ExecutionEngine.h.\r\nFunction existent: Core.h, ExecutionEngine.h\r\nFunction existent: Core.h, ExecutionEngine.h, Disassembler.h\r\n"}}