Change ext/reflection from IDL to HNI
[hiphop-php.git] / hphp / hhvm / anchor-syms.cpp
blob19c078a0e0805d051ce9af4927f8667c9fd631ba
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
16 #include "hphp/runtime/ext/extension.h"
18 namespace HPHP {
20 /**
21 * Prevent over-eager linkers from stripping seemingly unused
22 * symbols from the resulting binary by linking them from here.
24 extern Extension s_zip_extension;
25 extern Extension s_fileinfo_extension;
26 extern Extension s_intl_extension;
27 extern Extension s_bcmath_extension;
28 extern Extension s_phar_extension;
29 extern Extension s_bz2_extension;
30 extern Extension s_reflection_extension;
31 #ifdef HAVE_UODBC
32 extern Extension s_odbc_extension;
33 #endif
34 const Extension *g_anchor_extensions[] = {
35 &s_zip_extension,
36 &s_fileinfo_extension,
37 &s_intl_extension,
38 &s_bcmath_extension,
39 &s_phar_extension,
40 &s_bz2_extension,
41 &s_reflection_extension,
42 #ifdef HAVE_UODBC
43 &s_odbc_extension,
44 #endif
47 } // HPHP