I am writing the component in raw C now so I believe the rules are not 
the same. In raw C there is no variable type. And as you say, each 
instance has a full copy of the data structure. That is why I though 
that the internal variables must also be declared in the structure but 
just not exported to HAL.
All those pointers are making my head spin.


On 2014-05-15 19:07, andy pugh wrote:
> On 15 May 2014 17:54, Marius Liebenberg <[email protected]> wrote:
>> Is it best to have all the variable that I want to use in the structure
>> but just not export them to Hal or is there another way?
>> Guidance is most welcomed here :)
> You can create per-instance variables with the "variable" command.
> Any "reusable" variables can just be declared in the normal C way.
>
> Something to bear in mind is that "comp" conceals the complexity of
> their being an identical data structure for each instance of the
> component with different data values.
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to