|
|
| version 1.1, 2025/01/19 02:04:04 | version 1.2, 2025/02/25 18:29:31 |
|---|---|
| Line 45 | Line 45 |
| #include "freem.h" | #include "freem.h" |
| #define MREF_CHECK(ref,index,type) if (ref->status != MREF_ST_INIT || index > 255 || index < 0) return (type) NULL | #define MREF_CHECK(ref,index,type) if (ref->status != MREF_ST_INIT || index > 255 || index < 0) return (type) NULL |
| #define MREF_CHECK_EXIT(ref,index,type) if (ref->status != MREF_ST_INIT || index > 255 || index < 0) exit (type) NULL | |
| extern short g_numeric (char *str); | extern short g_numeric (char *str); |
| Line 97 void mref_to_internal_prealloc (char *re | Line 98 void mref_to_internal_prealloc (char *re |
| { | { |
| register int i; | register int i; |
| MREF_CHECK (ref, 0, char *); | /* MREF_CHECK (ref, 0, char *); */ |
| strncpy (res, ref->name, STRLEN - 1); | strncpy (res, ref->name, STRLEN - 1); |