Book a Demo

Author Topic: Declaration of non-standard data types  (Read 3612 times)

Elegy

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Declaration of non-standard data types
« on: October 23, 2004, 12:56:56 pm »
I typically work on projects that involve interfacing code, written in C++, running on a PC and code, written in EC++ or C, running on a 8 or 16-bit controller with some code common to both platforms.

Since the standard data types, such as 'int' can mean different things on different platforms, I usually have a platform header file that defines non-standard data types such as int8, int16, int32 etc.

Does EA have a mechanism for such declarations?

dlundy

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Declaration of non-standard data types
« Reply #1 on: October 24, 2004, 02:47:20 pm »
You can add datatypes into the language profile through the Configuration | Language Datatypes dialog.

Dan Lundy