エラーが発生します:
C2275 RHandle: この型を式として使用するのは不正です
...これをコンパイルすると:
int main(){
    int i,j;
    float** tree;
    tree = (float**)malloc(15 * sizeof(float*));
    for( i = 0; i < 15; i++) 
        tree[i] = (float*)malloc(2 * sizeof(float));
    for(i = 0; i < 15; i++)
        for( j = 0; j < 2; j++)
            tree[i][j] = 2;
    RHandle h = create_reprVectorsTree(tree, 8, 2); // error at this line
    // ...
}
私のインターフェースは次のようになります。
struct reprVectorsTree;
#ifdef __cplusplus
extern "C" {
#endif
typedef struct reprVectorsTree * RHandle;
RHandle create_reprVectorsTree(float **, int , int );
void free_reprVectorsTree(RHandle);
float*  work_decode(RHandle , int *, int);
#ifdef __cplusplus
}
#endif
この質問の例に従いました。
Visual Studio 2008 でコンパイルしています。
何が問題ですか?