mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
fit g070
This commit is contained in:
parent
f51c9a05d2
commit
8f25f0aa82
@ -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) {
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user