Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/draco/src/draco/core/macros.h
- This file was moved from extern/draco/dracoenc/src/draco/core/macros.h.
| Show All 10 Lines | |||||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| // See the License for the specific language governing permissions and | // See the License for the specific language governing permissions and | ||||
| // limitations under the License. | // limitations under the License. | ||||
| // | // | ||||
| #ifndef DRACO_CORE_MACROS_H_ | #ifndef DRACO_CORE_MACROS_H_ | ||||
| #define DRACO_CORE_MACROS_H_ | #define DRACO_CORE_MACROS_H_ | ||||
| #include "assert.h" | #include "assert.h" | ||||
| #include "draco/draco_features.h" | #include "draco/draco_features.h" | ||||
| #ifdef ANDROID_LOGGING | #ifdef ANDROID_LOGGING | ||||
| #include <android/log.h> | #include <android/log.h> | ||||
| #define LOG_TAG "draco" | #define LOG_TAG "draco" | ||||
| #define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) | #define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) | ||||
| #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) | #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) | ||||
| #else | #else | ||||
| ▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines | |||||