Book a Demo

Author Topic: adding <cstdint>  dasta types to Cpp data types.  (Read 5105 times)

Wade Brooks

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
adding <cstdint>  dasta types to Cpp data types.
« on: October 04, 2014, 02:48:40 pm »
I need to add the data types from <cstdint> to EA C++ data types. I need to do this in many models and some future models.   Is there a way to do this from the API?   of from am XML export/import?  
Thanks for any suggestions on how to automate this!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: adding <cstdint>  dasta types to Cpp data types.
« Reply #1 on: October 04, 2014, 04:19:55 pm »
You could manipulate t_datatypes with Repository.Execute("INSERT..."). The structure is rather easy to understand.

There might be a way to import them via Project/Im-/Export/Reference Data but I could not find the corresponding entry on the fly.

q.

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: adding <cstdint>  dasta types to Cpp data types.
« Reply #2 on: October 11, 2014, 03:57:15 am »
I have created datatypes for an unsupported language using the import/export reference data path.  I have not attempted to modify types for existing languages.