开发者

idlj Ignoring "#pragma prefix"

开发者 https://www.devze.com 2022-12-26 17:58 出处:网络
I have an IDL file that has a \"#pragma prefix\" directive, but whenever I use idlj to build the J开发者_JAVA技巧ava code, it ignores this and generates an _id without the prefix specified.This is a b

I have an IDL file that has a "#pragma prefix" directive, but whenever I use idlj to build the J开发者_JAVA技巧ava code, it ignores this and generates an _id without the prefix specified. This is a big problem because when _is_a is used, it always returns false, since my generated code does not contain the expected prefix. Please help! Thanks in advance!


I ended up being the culprit on this one. I was just not doing enough checks and balances and it ended up some of the IDL files I was using didn't even have the #pragma prefix statement in them.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号