Obj files & wrapping

View: New views
2 Messages — Rating Filter:   Alert me  

Obj files & wrapping

by Tennis Smith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

I’m confused on one aspect of wrapping files.  Can I use swig to wrap an obj file that has not yet been linked with any others? Put another way, if foo.c and bar.c are linked to create boojum.lib, can I wrap foo.obj?

 

TIA,

-T


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

Re: Obj files & wrapping

by David Piepgrass :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hi,
>
> I'm confused on one aspect of wrapping files.  Can I use swig to wrap
an
> obj file that has not yet been linked with any others? Put another
way, if
> foo.c and bar.c are linked to create boojum.lib, can I wrap foo.obj?
>
> TIA,
>
> -T

No, SWIG is a source-to-source wrapper generator. It reads an .i file in
which you tell SWIG what C/C++ functions/classes to wrap, then it
generates source code for a wrapper.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user
LightInTheBox - Buy quality products at wholesale price