This commit is contained in:
Lyon 2022-07-02 00:04:57 +08:00
parent f51c9a05d2
commit 8f25f0aa82
2 changed files with 8 additions and 3 deletions

View File

@ -2,8 +2,8 @@
#include "Arm2D_common.h"
void Arm2D_Element_update(PikaObj* self) {
/* need to be override */
args_setErrorCode(self->list, 1);
args_setSysOut(self->list, "[error]: update method not be overrided !");
obj_setErrorCode(self, 1);
obj_setSysOut(self, "[error]: update method not be overrided !");
}
void Arm2D_Element_init(PikaObj* self) {

View File

@ -35,11 +35,16 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* clang-format off */
#if PIKA_ASSERT_ENABLE
#include <assert.h>
#else
#define assert(...)
#ifndef assert
#define assert(...)
#endif
#endif
/* clang-format on */
/* Compiler */
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 5000000) /* ARM Compiler \