ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Rinat Bikov <becase@altlinux.org>
To: ALT Linux Community general discussions
	<community@lists.altlinux.org>,
	devel@lists.altlinux.org
Subject: Re: [Comm] Плагины на различных языках программирования
Date: Sun, 22 Nov 2009 00:24:33 +0400
Message-ID: <f725ea640911211224i3a5a048bu6d6bfa4eaf07c8fe@mail.gmail.com> (raw)
In-Reply-To: <f725ea640911210514m30816e0aqd3236ea9f2ac5ba7@mail.gmail.com>

Ок, разобрался, правда, возможно, что можно сделать более оптимально...
В данный момент основная программа (содержащая вызов 1-й функции)
линкуется с динамической библиотекой, в которой находятся интерфейсные
для модулей (других динамических библиотек) функции + функции для
загрузки этих плагинов.
При этом плагинам по идее нужно знать просто имена интерфейсных для
них функций для того, чтобы вызывать эти функции из загружающей их
библиотеки. Насколько я понимаю, это решение от языка, на котором
написан тот или иной плагин не зависит.
P.S. Потом нужно будет проверить эту схему под Win :).

-- 
С уважением, Ринат Биков.

      reply	other threads:[~2009-11-21 20:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 13:14 Rinat Bikov
2009-11-21 20:24 ` Rinat Bikov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f725ea640911211224i3a5a048bu6d6bfa4eaf07c8fe@mail.gmail.com \
    --to=becase@altlinux.org \
    --cc=community@lists.altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git