Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix bindings
  • Loading branch information
m-kuhn committed May 1, 2017
1 parent 6593754 commit f511401
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/core/qgsexpression.sip
Expand Up @@ -928,6 +928,9 @@ return index of the function in Functions array
%Docstring
Needs to be called by all subclasses as part of their clone() implementation.

.. note::

Not available in python bindings
.. versionadded:: 3.0
%End

Expand Down
9 changes: 9 additions & 0 deletions python/core/qgsfeaturerequest.sip
Expand Up @@ -83,6 +83,15 @@ class QgsFeatureRequest
*/
QgsExpression expression() const;

/**
* Prepare the expression with the given context.
*
* \see QgsExpression::prepare
*
* \since QGIS 3.0
*/
bool prepare( QgsExpressionContext *context );

/**
* Order ascending
* @return If ascending order is requested
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsexpression.h
Expand Up @@ -1038,6 +1038,7 @@ class CORE_EXPORT QgsExpression
/**
* Needs to be called by all subclasses as part of their clone() implementation.
*
* \note Not available in python bindings
* \since QGIS 3.0
*/
void cloneTo( QgsExpression::Node *target ) const;
Expand Down

0 comments on commit f511401

Please sign in to comment.