summaryrefslogtreecommitdiff
path: root/src/libcrawler/libcrawler.cpp
blob: 5dc952f2230728dde6997fef66266edb24361734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "libcrawler.hpp"

#include <iostream>

#ifdef WITH_LUA
#include "tolua.h"
#include "URLLua.hpp"
#include "LuaVM.hpp"
#endif

void initialize_libcrawler( void *
#ifdef WITH_LUA
user_data
#endif
)
{
#ifdef WITH_LUA
	LuaVM *vm = (LuaVM *)user_data;
	tolua_URL_open( vm->handle( ) );
#endif
}