projects
/
platform
/
upstream
/
isl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add isl_tab_get_ctx
[platform/upstream/isl.git]
/
isl_tab.c
diff --git
a/isl_tab.c
b/isl_tab.c
index
35ff7fc
..
b7513df
100644
(file)
--- a/
isl_tab.c
+++ b/
isl_tab.c
@@
-89,6
+89,11
@@
error:
return NULL;
}
+isl_ctx *isl_tab_get_ctx(struct isl_tab *tab)
+{
+ return tab ? isl_mat_get_ctx(tab->mat) : NULL;
+}
+
int isl_tab_extend_cons(struct isl_tab *tab, unsigned n_new)
{
unsigned off;