Hi all,
I need to extract metadata from an arbitrary file before accepting it, and I was wondering if there is anyway to use this http://www.gnu.org/software/libextractor/ from gst. Probably a *very* stupid question, but since I never wrote a single C line in my life... Bèrto -- ============================== Constitution du 24 juin 1793 - Article 35. - Quand le gouvernement viole les droits du peuple, l'insurrection est, pour le peuple et pour chaque portion du peuple, le plus sacré des droits et le plus indispensable des devoirs. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 04/27/2010 04:42 AM, Bèrto ëd Sèra wrote:
> Hi all, > > I need to extract metadata from an arbitrary file before accepting it, > and I was wondering if there is anyway to use this > http://www.gnu.org/software/libextractor/ from gst. Probably a *very* > stupid question, but since I never wrote a single C line in my life... Good morning, have you tried using this: http://www.gnu.org/software/smalltalk/manual/html_node/C-callout.html? holger _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Thanks, it looks like this could definitely solve the problem (and a
number of others, for that matter). My last doubt is that this is all very nice as long as I stay on *nix box, but it will probably put me in the position of having separate releases for Win, *nix and MacOs, or will it? Bèrto On 27 April 2010 05:34, Holger Hans Peter Freyther <[hidden email]> wrote: > On 04/27/2010 04:42 AM, Bèrto ëd Sèra wrote: >> Hi all, >> >> I need to extract metadata from an arbitrary file before accepting it, >> and I was wondering if there is anyway to use this >> http://www.gnu.org/software/libextractor/ from gst. Probably a *very* >> stupid question, but since I never wrote a single C line in my life... > > > Good morning, > have you tried using this: > http://www.gnu.org/software/smalltalk/manual/html_node/C-callout.html? > > holger > > > _______________________________________________ > help-smalltalk mailing list > [hidden email] > http://lists.gnu.org/mailman/listinfo/help-smalltalk > -- ============================== Constitution du 24 juin 1793 - Article 35. - Quand le gouvernement viole les droits du peuple, l'insurrection est, pour le peuple et pour chaque portion du peuple, le plus sacré des droits et le plus indispensable des devoirs. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 04/27/2010 10:46 AM, Bèrto ëd Sèra wrote:
> Thanks, it looks like this could definitely solve the problem (and a > number of others, for that matter). My last doubt is that this is all > very nice as long as I stay on *nix box, but it will probably put me > in the position of having separate releases for Win, *nix and MacOs, > or will it? I think the DLD class is hiding the secret of how to load a library on a given platform (and if it is .dylib or .dll or such). And the C mangling is pretty much the same everywhere, or looks like it. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 04/27/2010 04:49 AM, Holger Hans Peter Freyther wrote:
> On 04/27/2010 10:46 AM, Bèrto ëd Sèra wrote: >> Thanks, it looks like this could definitely solve the problem (and a >> number of others, for that matter). My last doubt is that this is all >> very nice as long as I stay on *nix box, but it will probably put me >> in the position of having separate releases for Win, *nix and MacOs, >> or will it? > > I think the DLD class is hiding the secret of how to load a library on a > given platform (and if it is .dylib or .dll or such). And the C mangling > is pretty much the same everywhere, or looks like it. Yes, you're already relying on C callouts for Postgres and GTK+. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Free forum by Nabble | Edit this page |