Skip to content

Commit

Permalink
Update Python.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion authored Jan 8, 2024
1 parent 85b4fe6 commit 14c18ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hxpy/Python.hx
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ extern class Python
*Function for tracing the Python copyright information.
*/
@:native("Py_GetCopyright")
public static inline function getCopyright():String;
public static function getCopyright():String;

/**
*Function for initializing the Python interpreter.
*/
@:native("Py_Initialize")
public static inline function initialize():Void;
public static function initialize():Void;

/**
*Function for loading Python code from a string.
@param pycode The actual Python code that is going to be run.
*/
@:native("PyRun_SimpleString")
public static inline function runSimpleString(pycode:String):Void;
public static function runSimpleString(pycode:String):Void;

/**
* Function for loading Python code from a file.
Expand Down

0 comments on commit 14c18ac

Please sign in to comment.