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"
|
#include "Arm2D_common.h"
|
||||||
void Arm2D_Element_update(PikaObj* self) {
|
void Arm2D_Element_update(PikaObj* self) {
|
||||||
/* need to be override */
|
/* need to be override */
|
||||||
args_setErrorCode(self->list, 1);
|
obj_setErrorCode(self, 1);
|
||||||
args_setSysOut(self->list, "[error]: update method not be overrided !");
|
obj_setSysOut(self, "[error]: update method not be overrided !");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Arm2D_Element_init(PikaObj* self) {
|
void Arm2D_Element_init(PikaObj* self) {
|
||||||
|
@ -35,11 +35,16 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
#if PIKA_ASSERT_ENABLE
|
#if PIKA_ASSERT_ENABLE
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#else
|
#else
|
||||||
#define assert(...)
|
#ifndef assert
|
||||||
|
#define assert(...)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
/* Compiler */
|
/* Compiler */
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 5000000) /* ARM Compiler \
|
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 5000000) /* ARM Compiler \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user