|
@@ -28,12 +28,8 @@
|
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
/*************************************************************************/
|
|
/*************************************************************************/
|
|
|
|
|
|
-#include "modules/modules_enabled.gen.h" // For regex.
|
|
|
|
-
|
|
|
|
#include "lipo.h"
|
|
#include "lipo.h"
|
|
|
|
|
|
-#ifdef MODULE_REGEX_ENABLED
|
|
|
|
-
|
|
|
|
bool LipO::is_lipo(const String &p_path) {
|
|
bool LipO::is_lipo(const String &p_path) {
|
|
Ref<FileAccess> fb = FileAccess::open(p_path, FileAccess::READ);
|
|
Ref<FileAccess> fb = FileAccess::open(p_path, FileAccess::READ);
|
|
ERR_FAIL_COND_V_MSG(fb.is_null(), false, vformat("LipO: Can't open file: \"%s\".", p_path));
|
|
ERR_FAIL_COND_V_MSG(fb.is_null(), false, vformat("LipO: Can't open file: \"%s\".", p_path));
|
|
@@ -232,5 +228,3 @@ void LipO::close() {
|
|
LipO::~LipO() {
|
|
LipO::~LipO() {
|
|
close();
|
|
close();
|
|
}
|
|
}
|
|
-
|
|
|
|
-#endif // MODULE_REGEX_ENABLED
|
|
|