SDL-News: How to import a .c file in a SDL system?


Subject: SDL-News: How to import a .c file in a SDL system?
From: (yy01#mails.tsinghua.edu.cn)
Date: Mon Jun 16 2003 - 11:22:40 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From "=?GB2312?Q?=D1=EE=D1=F3?=" <yy01#mails.tsinghua.edu.cn> to sdlnews -----

Hi, members,
   I have a question in using SDL to develop a system. Though I can use the directive ##CODE to embed C code in SDL system, yet what i want to do now is to access a .c file outside of the SDL system. There are a lot of C functions and data structure in this .c file. I don't know how i can accomplish it.
   Reading the help file of TAU SDL suite 4.3, I know i can use the import specification to translate the C functions and variables to SDL counterparts, but this is only relevent to .h file, the C head file. Maybe i should modify the makefile?
   I am very confused, Could anyone help me? Thanks in advance!

best regards,
YANG Yang
Tsinghua University, PR.China

--End text from "=?GB2312?Q?=D1=EE=D1=F3?=" <yy01#mails.tsinghua.edu.cn> to sdlnews ---
For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT