Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41226 - /trunk/python-bindings/src/YPython.h
  • From: juhliarik@xxxxxxxxxxxxxxxx
  • Date: Wed, 03 Oct 2007 11:26:50 -0000
  • Message-id: <20071003112650.9DC302FC45@xxxxxxxxxxxxxxxx>
Author: juhliarik
Date: Wed Oct  3 13:26:50 2007
New Revision: 41226

URL: http://svn.opensuse.org/viewcvs/yast?rev=41226&view=rev
Log:
reimplementation import process


Modified:
    trunk/python-bindings/src/YPython.h

Modified: trunk/python-bindings/src/YPython.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/python-bindings/src/YPython.h?rev=41226&r1=41225&r2=41226&view=diff
==============================================================================
--- trunk/python-bindings/src/YPython.h (original)
+++ trunk/python-bindings/src/YPython.h Wed Oct  3 13:26:50 2007
@@ -30,11 +30,11 @@
 public:
 
     /**
-     * Load a Perl module - equivalent to "use" in Python.
+     * Load a Python module - equivalent to "use" in Python.
      *
      * Returns a YCPError on failure, YCPVoid on success.
      **/
-    static YCPValue loadModule( YCPList argList );
+    static YCPValue loadModule(string module);
 
     /**
      * Access the static (singleton) YPython object. Create it if it isn't
@@ -44,10 +44,12 @@
      **/
     static YPython * yPython();
 
+    PyObject* pMain();
 
+    static PyObject* _pMain;
 
     /**
-     * Destroy the static (singleton) YPython object and unload the embedded Perl
+     * Destroy the static (singleton) YPython object and unload the embedded Python
      * interpreter.
      *
      * Returns YCPVoid().

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages