예제 #1
0
def set_library_path(path):
	global index
	if path != "":
		Config.loaded = False
		Config.set_compatibility_check(False)
		Config.set_library_path(path)
	index = Index.create()
예제 #2
0
def get_library_file():
	conf = Config()
	return conf.get_filename()
예제 #3
0
# functionList.append(
#   ("clang_codeCompleteGetContexts",
#    [CodeCompletionResults],
#    clang.cindex.c_ulonglong),
# )
#
#
# functionList.append(
#   ("clang_codeCompleteGetContainerKind",
#    [CodeCompletionResults, clang.cindex.c_void_p],
#    CursorKind)
# )


if not Config.loaded:
	Config.set_compatibility_check(False)
# 	index = Index.create()


def set_library_path(path):
	global index
	if path != "":
		Config.loaded = False
		Config.set_compatibility_check(False)
		Config.set_library_path(path)
	index = Index.create()


def get_library_file():
	conf = Config()
	return conf.get_filename()