A forum for Spin users

You are not logged in.

#1 2011-02-06 03:12:04

From: China
Registered: 2011-01-27
Posts: 30

Enum Extraction of MODEX

I found Enum is extracted as global variables by MODEX and even the values are re-assigned. This produces problem when I try to share header files between C and extracted model. This also causes functional issue when some C code relies on the exact value of the Enum.
What is the design intention to extract Enum in this way? Is it possible to extract Enum just as is?

Last edited by jiong (2011-02-06 03:13:20)


#2 2011-02-06 20:23:21

Registered: 2010-11-18
Posts: 694

Re: Enum Extraction of MODEX

yes this is not ideal
you could edit the extracted model to revert back to the original enums, but i agree that this is clumsy.
modex, though, isn't supported anymore, but you could make those types of modifications and build on that separately of course


Board footer

Powered by FluxBB